phpcompta-dev
[Top][All Lists]
Advanced

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

[Phpcompta-dev] r4400 - phpcompta/trunk/include


From: phpcompta-dev
Subject: [Phpcompta-dev] r4400 - phpcompta/trunk/include
Date: Fri, 18 Nov 2011 14:42:57 +0100 (CET)

Author: danydb
Date: 2011-11-18 14:42:55 +0100 (Fri, 18 Nov 2011)
New Revision: 4400

Modified:
   phpcompta/trunk/include/ajax_auto_anc_card.php
Log:
0000462: Autocompletion pour les postes analytiques mod ajax_misc.php

Modified: phpcompta/trunk/include/ajax_auto_anc_card.php
===================================================================
--- phpcompta/trunk/include/ajax_auto_anc_card.php      2011-11-18 13:39:39 UTC 
(rev 4399)
+++ phpcompta/trunk/include/ajax_auto_anc_card.php      2011-11-18 13:42:55 UTC 
(rev 4400)
@@ -12,7 +12,7 @@
 }
 else
 {
-       $res=$cn->exec_sql("select po_id,po_description from  poste_analytique 
where po_description ~*$2 or po_id ~* $3 order by po_id limit 12 ",
+       $res=$cn->exec_sql("select po_id,po_description from  poste_analytique 
where po_description ~*$1 or po_id ~* $2 order by po_id limit 12 ",
         array($_POST['anccard'],$_POST['anccard']));
 }
 $nb=Database::num_row($res);




reply via email to

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