Permalink
Browse files

Should always use p() function when printing variables

  • Loading branch information...
1 parent 2c241d2 commit 6cce9458a59e0a1bdb3a17b06896e3bfb66f65b8 moodler committed Sep 20, 2004
Showing with 1 addition and 1 deletion.
  1. +1 −1 mod/lesson/lesson.php
View
@@ -791,7 +791,7 @@
<tr><td align="center">
<tr valign="top">
<td><b><?php print_string("pagetitle", "lesson"); ?>:</b><br />
- <input type="text" name="title" size="80" maxsize="255" value="<?PHP echo $page->title ?>"></td>
+ <input type="text" name="title" size="80" maxsize="255" value="<?PHP p($page->title) ?>"></td>
</tr>
<?PHP
echo "<tr><td><b>";

0 comments on commit 6cce945

Please sign in to comment.