Author: danydb Date: 2013-11-28 14:50:39 +0100 (Thu, 28 Nov 2013) New Revision: 5549
Modified: phpcompta/trunk/ phpcompta/trunk/include/class_fiche.php Log: Merged revisions 5547 via svnmerge from svn+ssh://[email protected]/svn/phpcompta/tags/rel670 ........ r5547 | danydb | 2013-11-28 14:48:09 +0100 (jeu., 28 nov. 2013) | 1 line sort the array for fiche properly to have the name BEFORE quickcode and accounting ........ Property changes on: phpcompta/trunk ___________________________________________________________________ Name: svnmerge-integrated - /phpcompta/tags/rel670:1-5539,5541-5545 + /phpcompta/tags/rel670:1-5539,5541-5548 Modified: phpcompta/trunk/include/class_fiche.php =================================================================== --- phpcompta/trunk/include/class_fiche.php 2013-11-28 13:49:44 UTC (rev 5548) +++ phpcompta/trunk/include/class_fiche.php 2013-11-28 13:50:39 UTC (rev 5549) @@ -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 _______________________________________________ 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
