Permalink
Browse files

Insert Image dialog works now also in debug mode.

  • Loading branch information...
1 parent 480abd8 commit b8db385fa1a9c3ec97e5dac0972845fa330ee211 julmis committed Aug 22, 2004
Showing with 1 addition and 1 deletion.
  1. +1 −1 lib/editor/coursefiles.php
@@ -143,7 +143,7 @@ function reset_value() {
if(uploader != null) {
uploader.reset();
}
- set_dir('<?php print($_REQUEST['wdir']);?>');
+ set_dir('<?php print(!empty($_REQUEST['wdir'])) ? $_REQUEST['wdir'] : "";?>');
return true;
}
-->

0 comments on commit b8db385

Please sign in to comment.