Author: danydb
Date: 2013-06-26 21:24:11 +0200 (Wed, 26 Jun 2013)
New Revision: 5325

Modified:
   phpcompta/tags/rel650/include/class_tool_uos.php
Log:
bug : use POST instead of array

Modified: phpcompta/tags/rel650/include/class_tool_uos.php
===================================================================
--- phpcompta/tags/rel650/include/class_tool_uos.php    2013-06-10 16:17:15 UTC 
(rev 5324)
+++ phpcompta/tags/rel650/include/class_tool_uos.php    2013-06-26 19:24:11 UTC 
(rev 5325)
@@ -64,7 +64,7 @@
     {
         global $cn;
                if ( $p_array == null ) $p_array=$_POST;
-               $this->id=$_POST[$this->name];
+               $this->id=$p_array[$this->name];
         $sql="insert into tool_uos(uos_value) values ($1)";
         try {
             $cn->exec_sql($sql,array($this->id));



---
PhpCompta est un logiciel de comptabilité libre en ligne (full web)
Projet opensource http://www.phpcompta.eu

_______________________________________________
Phpcompta  est un logiciel libre de comptabilité en ligne 
(http://www.phpcompta.eu)
Phpcompta-dev mailing list
[email protected]
https://lists.nongnu.org/mailman/listinfo/phpcompta-dev

Reply via email to