phpcompta-dev
[Top][All Lists]
Advanced

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

[Phpcompta-dev] r5547 - phpcompta/tags/rel670/include


From: phpcompta-dev
Subject: [Phpcompta-dev] r5547 - phpcompta/tags/rel670/include
Date: Thu, 28 Nov 2013 14:48:09 +0100 (CET)

Author: danydb
Date: 2013-11-28 14:48:09 +0100 (Thu, 28 Nov 2013)
New Revision: 5547

Modified:
   phpcompta/tags/rel670/include/class_fiche.php
Log:
sort the array for fiche properly to have the name BEFORE quickcode and 
accounting

Modified: phpcompta/tags/rel670/include/class_fiche.php
===================================================================
--- phpcompta/tags/rel670/include/class_fiche.php       2013-11-24 16:34:37 UTC 
(rev 5546)
+++ phpcompta/tags/rel670/include/class_fiche.php       2013-11-28 13:48:09 UTC 
(rev 5547)
@@ -741,6 +741,12 @@
         $this->id=$fiche_id;
         // first we create the card
         if ( $transaction)    $this->cn->start();
+        /*
+         * Sort the array for having the name AFTER the quickcode and the 
+         * Accounting
+         */
+        ksort($p_array);
+        
         try
         {
             $sql=sprintf("insert into fiche(f_id,fd_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]