From: dongsheng Date: Mon, 23 Mar 2009 07:53:32 +0000 (+0000) Subject: "REPOSITORY/MDL-18520, fix undefined warning" X-Git-Url: http://git.mjollnir.org/gw?a=commitdiff_plain;h=e437618bdd5770395b02a304a5ab4c84ebd3828d;p=moodle.git "REPOSITORY/MDL-18520, fix undefined warning" --- diff --git a/repository/filesystem/repository.class.php b/repository/filesystem/repository.class.php index 30f9b59eeb..60867cd3ed 100644 --- a/repository/filesystem/repository.class.php +++ b/repository/filesystem/repository.class.php @@ -10,7 +10,7 @@ class repository_filesystem extends repository { 'c:\windows', 'c:/windows' ); - if ($options['ajax']) { + if (!empty($options['ajax'])) { // if created from filepicker if (empty($this->root_path)) { $ret = array();