Skip to content
Browse files

MDL-33324 Filepicker : fixed syntax.

  • Loading branch information...
1 parent 0479a28 commit 09cb95f8618b2cb65e422a9f9f8e637de4fcac4b @nebgor nebgor committed
Showing with 1 addition and 1 deletion.
  1. +1 −1 repository/lib.php
View
2 repository/lib.php
@@ -1775,7 +1775,7 @@ public static function prepare_listing($listing) {
$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;

0 comments on commit 09cb95f

Please sign in to comment.
Something went wrong with that request. Please try again.