Fix iterator function

This commit is contained in:
Adam Zammit committed 2023-04-27 13:07:08 +10:00
1 parent 20b1759020
commit b27fbb9fc2
1 file changed
+1 -1
+1 -1
View File
@@ -261,7 +261,7 @@ class Calendar_Validator
return true;
}
function legacy_each($array){
function legacy_each(&$array){
$key = key($array);
$value = current($array);
$each = is_null($key) ? false : [