[Vtigercrm-commits] [vtiger development] #65: Scope resolution operator "::" in PHP 5

vtiger development vtiger-tickets at vtiger.fosslabs.com
Sun Mar 19 06:31:26 EST 2006


#65: Scope resolution operator "::" in PHP 5
-----------------------------------+----------------------------------------
 Reporter:  m.jacquemes at neuf.fr    |       Owner:  developer
     Type:  defect                 |      Status:  new      
 Priority:  major                  |   Milestone:  4.2.5    
Component:  vtigercrm              |     Version:  4.2.4rc2 
 Keywords:  scope operator search  |  
-----------------------------------+----------------------------------------
 Scope resolution operator (::) usage is different in PHP 5. Use of syntax
 :
 PearDatabase::quote($var) results in error message :
 Fatal error: Using $this when not in object context in c:\Inetpub\wwwroot
 \vtigercrm-graph\adodb\adodb.inc.php on line 2380.
 This appends with search buttons and graph shortcuts.

 A solution is to replace PearDatabase::quote by $adb->quote

 Tested with PHP 5 but not for backward compatibility with PHP4

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


More information about the vtigercrm-commits mailing list