Closed (won't fix)
Project:
Case Tracker Work
Version:
5.x-0.1-alpha
Component:
Code
Priority:
Critical
Category:
Bug report
Assigned:
Unassigned
Reporter:
Created:
20 Apr 2008 at 07:06 UTC
Updated:
31 Jan 2013 at 10:36 UTC
I got an error because of the array_combine function, which is in PHP5 but not not in PHP4. In searching about, I found some code to correct for this and it appears to work fine. I simple added it to the top of the casetracker_work.module file:
if(!function_exists('array_combine')){
function array_combine($keys, $values){
if(count($keys) < 1 || count($keys) != count($values) || !is_array($keys) || !is_array($values)){
return false;
}
$keys = array_values($keys);
$values = array_values($values);
for($x=0; $x < count($keys); $x++){
$return_array[$keys[$x]] = $values[$x];
}
return $return_array;
}
}
Ron
Comments
Comment #1
simon georges commentedThis version of Case Tracker Work is not supported anymore. The issue is closed for this reason.
Please upgrade to a supported version and feel free to reopen the issue on the new version if applicable.