phpcompta-dev
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Phpcompta-dev] r227 - trunk/coprop/include


From: phpcompta-dev
Subject: [Phpcompta-dev] r227 - trunk/coprop/include
Date: Wed, 4 Jan 2012 14:33:58 +0100 (CET)

Author: danydb
Date: 2012-01-04 14:33:57 +0100 (Wed, 04 Jan 2012)
New Revision: 227

Modified:
   trunk/coprop/include/class_copro_lot.php
Log:
lot insert - update, remove col l_part

Modified: trunk/coprop/include/class_copro_lot.php
===================================================================
--- trunk/coprop/include/class_copro_lot.php    2012-01-04 13:16:58 UTC (rev 
226)
+++ trunk/coprop/include/class_copro_lot.php    2012-01-04 13:33:57 UTC (rev 
227)
@@ -52,7 +52,7 @@
                                $flot->id=$lot[$i];
 
                                // si w_lot pas inseré alors inserer
-                               $cn->exec_sql("insert into 
coprop.lot(l_fiche_id,l_part,coprop_fk)".
+                               $cn->exec_sql("insert into 
coprop.lot(l_fiche_id,coprop_fk)".
                                                " values ($1,$2)",
                                                array($flot->id,$coprop->id));
 
@@ -87,7 +87,7 @@
                                $flot->id=$lot[$i];
 
                                // si w_lot pas inseré alors inserer
-                               $cn->exec_sql("insert into 
coprop.lot(l_fiche_id,l_part,coprop_fk)".
+                               $cn->exec_sql("insert into 
coprop.lot(l_fiche_id,coprop_fk)".
                                                " values ($1,$2)",
                                                array($flot->id,$coprop->id));
 




reply via email to

[Prev in Thread] Current Thread [Next in Thread]