[Vtigercrm-commits] [vtiger development] #5475: vtlib quickcreate logic is backwards

vtiger development vtiger-tickets at trac.vtiger.com
Tue Feb 24 07:25:31 EST 2009


#5475: vtlib quickcreate logic is backwards
------------------------+---------------------------------------------------
 Reporter:  kristof     |       Owner:  developer 
     Type:  patch       |      Status:  new       
 Priority:  unassigned  |   Milestone:  5.1.0     
Component:  vtlib       |     Version:  5.1.0-val1
 Keywords:              |  
------------------------+---------------------------------------------------
 Vtlib quickcreate: field order specified in quicksequence property were
 lost when quickcreate were true. (VTiger using inverse logic at
 quickcreate.)

 PATCH: (also attached as a file)

 diff --git a/vtlib/Vtiger/FieldBasic.php b/vtlib/Vtiger/FieldBasic.php
 index 02cbc90..bf3706d 100644
 --- a/vtlib/Vtiger/FieldBasic.php
 +++ b/vtlib/Vtiger/FieldBasic.php
 @@ -141,7 +141,7 @@ class Vtiger_FieldBasic {
                         $this->sequence = $this->__getNextSequence();
                 }

 -               if($this->quickcreate) {
 +               if(!$this->quickcreate) {
                         if(!$this->quicksequence) {
                                 $this->quicksequence =
 $this->__getNextQuickCreateSequence();
                         }

-- 
Ticket URL: <http://trac.vtiger.com/cgi-bin/trac.cgi/ticket/5475>
vtiger development <http://trac.vtiger.com/>
vtigerCRM




More information about the vtigercrm-commits mailing list