Author: danydb
Date: 2012-07-10 12:34:55 +0200 (Tue, 10 Jul 2012)
New Revision: 5067

Modified:
   phpcompta/tags/rel650/include/class_follow_up.php
Log:
duplicate Ref 

Modified: phpcompta/tags/rel650/include/class_follow_up.php
===================================================================
--- phpcompta/tags/rel650/include/class_follow_up.php   2012-07-09 16:43:20 UTC 
(rev 5066)
+++ phpcompta/tags/rel650/include/class_follow_up.php   2012-07-10 10:34:55 UTC 
(rev 5067)
@@ -848,7 +848,8 @@
                        $contact->id = 0;
 
                // reload the old one
-               $old=new Follow_Up($this->db,$this->ag_id);
+               $old=new Follow_Up($this->db);
+               $old->ag_id=$this->ag_id;
                $old->get();
 
                // If ag_ref changed then check if unique



---
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

Reply via email to