Skip to content
This repository was archived by the owner on Sep 3, 2025. It is now read-only.

Commit cd2ce46

Browse files
committed
Merge pull request #1 from patdunlavey/ISLANDORA-1537
ISLANDORA-1537: PHP 5.6 Warning in array_traverse_path()
2 parents be8733a + bf8774f commit cd2ce46

1 file changed

Lines changed: 2 additions & 1 deletion

File tree

Array.inc

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -54,7 +54,8 @@ function &array_traverse_path(array &$array, array $indices) {
5454
$point = &$array;
5555
foreach ($indices as $index) {
5656
if (empty($point[$index])) {
57-
return FALSE;
57+
$result = FALSE;
58+
return $result;
5859
}
5960
$point = &$point[$index];
6061
}

0 commit comments

Comments
 (0)