]> git.mjollnir.org Git - moodle.git/commitdiff
Solved one bug causing category->name to be cleared
authorstronk7 <stronk7>
Thu, 20 May 2004 23:04:23 +0000 (23:04 +0000)
committerstronk7 <stronk7>
Thu, 20 May 2004 23:04:23 +0000 (23:04 +0000)
when editing them.

mod/glossary/editcategories.html

index 701c277e3013a169d5a947393b31e1c6390f863e..9c4742b7e7c86d88d7eae9fbd94223659537ab9c 100644 (file)
@@ -2,14 +2,13 @@
        global $CFG, $THEME;
     require_once("../../config.php");
 ?>
-
 <center>
 <FORM name="form" method="post" action="editcategories.php">
 <table  class=generalbox cellpadding=5 bgcolor="<?php p($THEME->cellheading)?>">
 <tr valign=top>
     <td align=right><p><b><?php echo get_string("name") ?>:</b></p></td>
     <td>
-        <INPUT type="text" name="name" size=30 value="<?php ($name) ?>">
+        <INPUT type="text" name="name" size=30 value="<?php p($name) ?>">
     </td>
 </tr>
 <tr valign=top>