Author: danydb
Date: 2012-01-10 21:45:28 +0100 (Tue, 10 Jan 2012)
New Revision: 4712

Modified:
   phpcompta/trunk/include/class_fiche_def.php
Log:
fix order

Modified: phpcompta/trunk/include/class_fiche_def.php
===================================================================
--- phpcompta/trunk/include/class_fiche_def.php 2012-01-10 18:20:01 UTC (rev 
4711)
+++ phpcompta/trunk/include/class_fiche_def.php 2012-01-10 20:45:28 UTC (rev 
4712)
@@ -585,7 +585,7 @@
         if ( $this->id == 0 ) return;
         /* ORDER */
         $this->GetAttribut();
-        $max=sizeof($this->attribut);
+        $max=sizeof($this->attribut)*15;
         // Insert a new attribute for the model
         // it means insert a row in jnt_fic_attr
         $sql=sprintf("insert into jnt_fic_attr (fd_id,ad_id,jnt_order) values 
(%d,%d,%d)",


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

Reply via email to