]> git.mjollnir.org Git - moodle.git/commitdiff
Insert Image dialog works now also in debug mode.
authorjulmis <julmis>
Sun, 22 Aug 2004 09:49:25 +0000 (09:49 +0000)
committerjulmis <julmis>
Sun, 22 Aug 2004 09:49:25 +0000 (09:49 +0000)
lib/editor/coursefiles.php

index f1bab09661b92e08c3db1316d3f2f5ad3087a77d..be67d28320260a89ed73076ec723ec4095804ad7 100644 (file)
             if(uploader != null) {
                 uploader.reset();
             }
-            set_dir('<?php print($_REQUEST['wdir']);?>');
+            set_dir('<?php print(!empty($_REQUEST['wdir'])) ? $_REQUEST['wdir'] : "";?>');
             return true;
         }
         -->