]> git.mjollnir.org Git - moodle.git/commitdiff
"REPOSITORY/MDL-18520, fix undefined warning"
authordongsheng <dongsheng>
Mon, 23 Mar 2009 07:53:32 +0000 (07:53 +0000)
committerdongsheng <dongsheng>
Mon, 23 Mar 2009 07:53:32 +0000 (07:53 +0000)
repository/filesystem/repository.class.php

index 30f9b59eeb5a569d3055f95cfface70528fb4d02..60867cd3ed1f81db82496b562dc1ad3243f81fa1 100644 (file)
@@ -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();