diff --git a/html/index.php b/html/index.php index 4c1ef8b88..9743c7d9a 100644 --- a/html/index.php +++ b/html/index.php @@ -258,4 +258,3 @@ echo ' -?> diff --git a/include/class_forecast.php b/include/class_forecast.php index 7122b858b..e70a34e35 100644 --- a/include/class_forecast.php +++ b/include/class_forecast.php @@ -147,8 +147,8 @@ class Forecast $new=$this->cn->get_value($sql,array($this->f_id)); /* save into forecast_cat */ - $sql="insert into forecast_cat(fc_desc,f_id,fc_order) select fc_desc,$new,fc_order from forecast_cat where f_id=$1 returning fc_id" ; - $array=$this->cn->get_array($sql,array($this->f_id)); + $sql="insert into forecast_cat(fc_desc,f_id,fc_order) select fc_desc,$1,fc_order from forecast_cat where f_id=$2 returning fc_id" ; + $array=$this->cn->get_array($sql,array($new,$this->f_id)); $old=$this->cn->get_array("select fc_id from forecast_cat where f_id=$1",array($this->f_id)); /* save into forecast_item */ diff --git a/include/compta_ach.inc.php b/include/compta_ach.inc.php index 237d43d3f..47152477d 100644 --- a/include/compta_ach.inc.php +++ b/include/compta_ach.inc.php @@ -310,7 +310,7 @@ if ( $def == 2 ) $bar=jrn_navigation_bar($offset,$max_line,$step,$page); - echo '
'; + echo ''; echo HtmlInput::hidden("sa","l"); echo HtmlInput::hidden("p_action","ach"); echo dossier::hidden(); diff --git a/include/compta_ven.inc.php b/include/compta_ven.inc.php index 6be118732..da98622d7 100644 --- a/include/compta_ven.inc.php +++ b/include/compta_ven.inc.php @@ -331,7 +331,7 @@ if ( $def == 2 ) $bar=jrn_navigation_bar($offset,$max_line,$step,$page); - echo ''; + echo ''; echo HtmlInput::hidden("sa","l"); echo HtmlInput::hidden("p_action","ven"); echo dossier::hidden(); @@ -394,7 +394,7 @@ if ( $def==3 ) $bar=jrn_navigation_bar($offset,$max_line,$step,$page); - echo ''; + echo ''; echo HtmlInput::hidden("sa","lnp"); echo HtmlInput::hidden("p_action","ven"); echo dossier::hidden();