mirror of
https://github.com/Pathduck/gallery3.git
synced 2026-05-02 11:09:10 -04:00
Follow-on to 1e4d75c120 for #1975.
Don't try to use an array index on a function return, that's not supported in PHP 5.3
This commit is contained in:
@@ -111,6 +111,7 @@ class Search_Controller extends Controller {
|
||||
}
|
||||
|
||||
static function get_siblings($q, $album) {
|
||||
return search::search_within_album(search::add_query_terms($q), $album, 1000, 1)[1];
|
||||
$result = search::search_within_album(search::add_query_terms($q), $album, 1000, 1);
|
||||
return $result[1];
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user