mirror of
https://github.com/moodle/moodle.git
synced 2025-01-17 21:49:15 +01:00
MDL-33324 Filepicker : fixed syntax.
This commit is contained in:
parent
0479a2873e
commit
09cb95f861
@ -1775,7 +1775,7 @@ abstract class repository {
|
||||
|
||||
$defaultfoldericon = $OUTPUT->pix_url(file_folder_icon(24))->out(false);
|
||||
// prepare $listing['path'] or $listing->path
|
||||
if (is_array($listing) && isset($listing['path']) && is_array((listing['path'])) {
|
||||
if (is_array($listing) && isset($listing['path']) && is_array($listing['path'])) {
|
||||
$path = &$listing['path'];
|
||||
} else if (is_object($listing) && isset($listing->path) && is_array($listing->path)) {
|
||||
$path = &$listing->path;
|
||||
|
Loading…
x
Reference in New Issue
Block a user