Author: danydb
Date: 2012-01-04 16:23:56 +0100 (Wed, 04 Jan 2012)
New Revision: 236
Modified:
trunk/coprop/include/class_copro_key.php
Log:
remove date from key
Modified: trunk/coprop/include/class_copro_key.php
===================================================================
--- trunk/coprop/include/class_copro_key.php 2012-01-04 15:02:19 UTC (rev
235)
+++ trunk/coprop/include/class_copro_key.php 2012-01-04 15:23:56 UTC (rev
236)
@@ -77,8 +77,8 @@
$this->verify($p_array,false);
$cn->start();
$cn->exec_sql("update coprop.clef_repartition set
- cr_note=$3,cr_name=$4
- where cr_id=$5",
+ cr_note=$1,cr_name=$2
+ where cr_id=$3",
array( strip_tags($cr_note),
strip_tags($cr_name),$this->cr_id));
$cn->exec_sql("delete from
coprop.clef_repartition_detail where cr_id=$1",array($this->cr_id));
for ($i = 0; $i < count($f_id); $i++)
_______________________________________________
Phpcompta-dev mailing list
[email protected]
https://lists.nongnu.org/mailman/listinfo/phpcompta-dev