From 09cb95f8618b2cb65e422a9f9f8e637de4fcac4b Mon Sep 17 00:00:00 2001 From: Aparup Banerjee Date: Fri, 25 May 2012 11:44:04 +0800 Subject: [PATCH] MDL-33324 Filepicker : fixed syntax. --- repository/lib.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/repository/lib.php b/repository/lib.php index 1bcfa7a7ad3..3abca8d9a75 100644 --- a/repository/lib.php +++ b/repository/lib.php @@ -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; -- 2.39.2