Closed afolgado closed 12 years ago
When pressing "Update ACOs", it should update then the first time and report "0 acos updated" the following times. But it always find some ACOs to update.
The bug is on AclController.php, line 212:
$aco = substr($aco, 0, -1); // Remove trailing slash
Sometimes the $aco string doesn't bring a trailing slash, so it's wrongly altered.
Here's the fix:
if (substr($aco, -1) == '/') { $aco = substr($aco, 0, -1); // Remove trailing slash }
Thanks for reporting. This has been fixed.
When pressing "Update ACOs", it should update then the first time and report "0 acos updated" the following times. But it always find some ACOs to update.
The bug is on AclController.php, line 212:
$aco = substr($aco, 0, -1); // Remove trailing slash
Sometimes the $aco string doesn't bring a trailing slash, so it's wrongly altered.
Here's the fix:
if (substr($aco, -1) == '/') { $aco = substr($aco, 0, -1); // Remove trailing slash }