Author: danydb
Date: 2012-01-09 16:13:46 +0100 (Mon, 09 Jan 2012)
New Revision: 4699

Modified:
   phpcompta/trunk/include/class_user.php
Log:
SQL protect

Modified: phpcompta/trunk/include/class_user.php
===================================================================
--- phpcompta/trunk/include/class_user.php      2012-01-09 15:13:32 UTC (rev 
4698)
+++ phpcompta/trunk/include/class_user.php      2012-01-09 15:13:46 UTC (rev 
4699)
@@ -975,10 +975,8 @@
                         array($p_filter));
                }
                require_once('class_database.php');
-               
 
-               $Res = $cn->exec_sql($sql);
-               $max = Database::num_row($Res);
+                $max = Database::num_row($Res);
                if ($max == 0)
                        return 0;
 


_______________________________________________
Phpcompta-dev mailing list
[email protected]
https://lists.nongnu.org/mailman/listinfo/phpcompta-dev

Reply via email to