Closed 2shediac closed 6 years ago
In locallib.php, create_function is used.
I believe this can be corrected with
old: usort($uniqueTrackedUsers, create_function('$a,$b', $compareByFullName));
new usort($uniqueTrackedUsers, function($a, $b) { return strcmp( fullname($a), fullname($b) ); });
Hi, I've just updated the master branch with your patch. Thank you very much!
In locallib.php, create_function is used.
I believe this can be corrected with
old: usort($uniqueTrackedUsers, create_function('$a,$b', $compareByFullName));
new usort($uniqueTrackedUsers, function($a, $b) { return strcmp( fullname($a), fullname($b) ); });