[Vtigercrm-developers] Error with AUTO GEN ON SAVE

Nablacom info at nablacom.it
Mon Dec 15 10:32:49 PST 2008


Hi vtigers,

with the revision 12249 of vtiger 5.1 I have encoutered an error: when I
change the language the auto generation of the module entity number doesn't
function

So th error is in \data\CRMEntity.php where the line 

if(!isset($this->column_fields[$fieldname]) ||
$this->column_fields[$fieldname] == '' || $this->column_fields[$fieldname]
== 'AUTO GEN ON SAVE')

must be replaced by

if(!isset($this->column_fields[$fieldname]) ||
$this->column_fields[$fieldname] == '' || $this->column_fields[$fieldname]
== getTranslatedString('MSG_AUTO_GEN_ON_SAVE'))

 

 

-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.vtigercrm.com/pipermail/vtigercrm-developers/attachments/20081215/3547705f/attachment-0003.html 


More information about the vtigercrm-developers mailing list