From 7722bc866179aa9e5fb74f60f8c984173cda4440 Mon Sep 17 00:00:00 2001 From: sparkyx Date: Thu, 1 Jan 2004 15:42:51 +0000 Subject: [PATCH] Fix bug in the Forms printing --- include/impress_inc.php | 11 +++++++---- 1 file changed, 7 insertions(+), 4 deletions(-) diff --git a/include/impress_inc.php b/include/impress_inc.php index f3754d374..6e6b20613 100644 --- a/include/impress_inc.php +++ b/include/impress_inc.php @@ -80,14 +80,16 @@ function ViewImp($p_array,$p_cn) { echo ""; } /* function Imp - * Purpose : + * Purpose : Show the html printing result + * * * parm : - * - + * - array + * - db connection * gen : - * - + * - none * return: - * - + * - ImpHtml * */ function Imp($p_array,$p_cn) { @@ -132,6 +134,7 @@ function ImpHtml($p_array,$p_cn) fo_formula, fr_label from form inner join formdef on fr_id=fo_fr_id + where fo_fr_id=$p_id order by fo_pos"); $Max=pg_NumRows($Res); if ($Max==0) return $ret="";