From 6e5e0c9363e1d47f33179806aaf4ba6d2612dbb6 Mon Sep 17 00:00:00 2001 From: dongsheng Date: Tue, 3 Mar 2009 01:03:56 +0000 Subject: [PATCH] "FORUM/MDL-14860, declare subtext varible before use it, merged from 1.9" --- index.php | 1 + 1 file changed, 1 insertion(+) diff --git a/index.php b/index.php index 2d16698dcd7..d0e8f5d75d2 100644 --- a/index.php +++ b/index.php @@ -187,6 +187,7 @@ if (!empty($USER->id)) { $SESSION->fromdiscussion = $CFG->wwwroot; + $subtext = ''; if (forum_is_subscribed($USER->id, $newsforum)) { if (!forum_is_forcesubscribed($newsforum)) { $subtext = get_string('unsubscribe', 'forum');