phpcompta-dev
[Top][All Lists]
Advanced

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

[Phpcompta-dev] r5326 - phpcompta/tags/rel660/include


From: phpcompta-dev
Subject: [Phpcompta-dev] r5326 - phpcompta/tags/rel660/include
Date: Wed, 26 Jun 2013 21:25:42 +0200 (CEST)

Author: danydb
Date: 2013-06-26 21:25:42 +0200 (Wed, 26 Jun 2013)
New Revision: 5326

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

Modified: phpcompta/tags/rel660/include/class_tool_uos.php
===================================================================
--- phpcompta/tags/rel660/include/class_tool_uos.php    2013-06-26 19:24:11 UTC 
(rev 5325)
+++ phpcompta/tags/rel660/include/class_tool_uos.php    2013-06-26 19:25:42 UTC 
(rev 5326)
@@ -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



reply via email to

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