]> git.mjollnir.org Git - moodle.git/commitdiff
Additional notices under PHP5 fixed.
authordefacer <defacer>
Fri, 4 Feb 2005 20:57:16 +0000 (20:57 +0000)
committerdefacer <defacer>
Fri, 4 Feb 2005 20:57:16 +0000 (20:57 +0000)
blocks/html/config_instance.html

index f50c233da41f85c236f4e9a44adb6e99d477d959..948042d3eb0a119bdd003607715e555b080cb0d8 100755 (executable)
@@ -2,7 +2,7 @@
 <table cellpadding="9" cellspacing="0">
 <tr valign="top">
     <td align="right"><p><?php print_string('configtitle', 'block_html'); ?>:</td>
-    <td><input type="text" name="title" size="30" value="<?php echo $this->config->title; ?>" /> (<?php print_string('leaveblanktohide', 'block_html'); ?>)</td>
+    <td><input type="text" name="title" size="30" value="<?php echo isset($this->config->title)?$this->config->title:''; ?>" /> (<?php print_string('leaveblanktohide', 'block_html'); ?>)</td>
 </tr>
 <tr valign="top">
     <td align="right"><p><?php print_string('configcontent', 'block_html'); ?>:</td>