[Vtigercrm-commits] [Vtiger development] #8427: Error in Invoice module [PHP version]

Vtiger development vtiger-tickets at trac.vtiger.com
Tue Jan 27 10:51:10 GMT 2015


#8427: Error in Invoice module [PHP version]
------------------------+-------------------------
 Reporter:  secondcrm   |       Owner:  developer
     Type:  defect      |      Status:  new
 Priority:  unassigned  |   Milestone:  Unassigned
Component:  vtigercrm   |     Version:  6.2.0 ea
 Severity:  High        |  Resolution:
 Keywords:              |
------------------------+-------------------------

Comment (by secondcrm):

 Actually the problem in Export Invoice in CSV because of deprecated error
 of spliti in php5.3

 Below we found spliti in several files..
 spliti can replace with preg_split
 Ex. spliti(' From ', $samplevar); => preg_spliti('/( From )/i,
 $samplevar);

 And Split function should replace by explode.

 ./pkg/vtiger/modules/EmailTemplates/modules/EmailTemplates/models/ListView.php
 ./pkg/vtiger/modules/EmailTemplates/models/ListView.php
 ./pkg/vtiger/modules/RecycleBin/modules/RecycleBin/models/ListView.php
 ./pkg/vtiger/modules/Services/modules/Services/models/Module.php
 ./modules/Campaigns/models/Module.php
 ./modules/EmailTemplates/models/ListView.php
 ./modules/Accounts/models/Module.php
 ./modules/Potentials/models/Module.php
 ./modules/Inventory/models/Module.php
 ./modules/PriceBooks/models/Module.php
 ./modules/PriceBooks/models/ListView.php
 ./modules/PriceBooks/models/Relation.php
 ./modules/Settings/Vtiger/models/ListView.php
 ./modules/Services/models/Module.php
 ./modules/Leads/models/Module.php
 ../modules/Products/models/Module.php
 ./modules/Products/models/ListView.php
 ./modules/Products/models/Relation.php
 ./modules/Vtiger/models/Module.php
 ./modules/Vtiger/models/ListView.php
 ./modules/Vtiger/models/RelationListView.php
 ./modules/Vtiger/models/FindDuplicate.php
 ./modules/Contacts/models/Module.php
 ./modules/Documents/models/Module.php
 ./modules/HelpDesk/models/Module.php

 Its better to replace for all places.

--
Ticket URL: <http://trac.vtiger.com/cgi-bin/trac.cgi/ticket/8427#comment:1>
Vtiger development <http://trac.vtiger.com/>
Vtiger CRM


More information about the vtigercrm-commits mailing list