]> git.mjollnir.org Git - moodle.git/commitdiff
Fixed warning
authorvyshane <vyshane>
Thu, 17 Aug 2006 03:52:05 +0000 (03:52 +0000)
committervyshane <vyshane>
Thu, 17 Aug 2006 03:52:05 +0000 (03:52 +0000)
mod/forum/mod.html

index 038328b2953081ddb818eabdc55e48861a061cfa..5c5a2a5b74f1d18d4cafd0abb90bdc6f4d069854 100644 (file)
 </tr>
 <?php
     //Only show rss parameters if rss is activated at site and forum levels
-    if ($CFG->enablerssfeeds && $CFG->forum_enablerssfeeds) {
+    if ($CFG->enablerssfeeds
+            && isset($CFG->forum_enablerssfeeds) && $CFG->forum_enablerssfeeds) {
         echo '<tr valign="top">';
         echo '<td align="right"><b>'.get_string('rsstype').':</b></td>';
         echo '<td>';