VT800: Undefined variable $outgoingCallPermission in /var/www/html/vtigercrm/include/ListView/ListViewController.php on line 450
The var $outgoingCallPermission
is defined and set here: https://code.vtiger.com/vtiger/vtigercrm/-/blob/master/include/ListView/ListViewController.php#L232
But note this only happens if the PBXManager module is enabled. If it is disabled then $outgoingCallPermission
is never declared.
Suggest either defining this var as false at the top of the method, or add an else
statement to the test at line 231.
Secondly, in the bit of code around line 450 is this little gem:
$phoneNumber = $value;
$value = $phoneNumber;
The var $phoneNumber is not used anywhere else in this file... What is this bit of code for?