[Vtigercrm-commits] [vtiger development] #748: Eliminate php notice errors
vtiger development
vtiger-tickets at vtiger.fosslabs.com
Thu Jun 15 15:43:22 EDT 2006
#748: Eliminate php notice errors
------------------------+---------------------------------------------------
Reporter: allanbush | Owner: anonymous
Type: task | Status: assigned
Priority: minor | Milestone: 4.2.5
Component: vtigercrm | Version: 4.2.4rc3
Resolution: | Keywords:
------------------------+---------------------------------------------------
Changes (by anonymous):
* status: new => assigned
* owner: jrydbeck => anonymous
Comment:
Uploaded initial changeset [7148]. A significant number of changes are
similar to the following case:
{{{
function iAmAnExample($x)
{
if ($x == 2)
{
$var = 123;
}
return ($var + 4); // error thrown here if $x wasn't 2; $var wasn't
initialized
}
}}}
This stuff throws errors in PHP; presuming the 'IF' block didn't test true
and execute, $var hasn't been initialized.
--
Ticket URL: <http://vtiger.fosslabs.com/cgi-bin/trac.cgi/ticket/748>
vtiger development <http://vtiger.fosslabs.com/>
vtigerCRM
More information about the vtigercrm-commits
mailing list