Permalink
Browse files

Fixing a notice when $CFG->forum_trackreadposts doesn't exist (when e…

…diting

the admin account during installation, for example).
  • Loading branch information...
1 parent d7083e8 commit abb7e59d4674f38a629b41efd5c7b061d2015168 defacer committed Jun 13, 2005
Showing with 1 addition and 1 deletion.
  1. +1 −1 user/edit.html
View
@@ -152,7 +152,7 @@
choose_from_menu ($choices, "autosubscribe", $user->autosubscribe, "") ?>
</td>
</tr>
-<?php if ($CFG->forum_trackreadposts) { ?>
+<?php if (!empty($CFG->forum_trackreadposts)) { ?>
<tr>
<th><?php print_string("trackforums") ?>:</th>
<td><?php

0 comments on commit abb7e59

Please sign in to comment.