From e31a44ee20622a6552f3bc53c0876b1bfe852eef Mon Sep 17 00:00:00 2001 From: dongsheng Date: Wed, 23 Apr 2008 07:29:51 +0000 Subject: [PATCH] fix print_error() call, see tracker --- blocks/rss_client/block_rss_client_action.php | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/blocks/rss_client/block_rss_client_action.php b/blocks/rss_client/block_rss_client_action.php index 722b015e00..5339b7cb67 100644 --- a/blocks/rss_client/block_rss_client_action.php +++ b/blocks/rss_client/block_rss_client_action.php @@ -224,10 +224,10 @@ if ($act == 'updfeed') { } else if ($act == 'delfeed') { if (!$managefeeds) { - error(get_string('noguestpost', 'forum'). - ' You are not allowed to make modifications to this RSS feed at this time.', - $referrer); - //print_error('noguestpost', 'forum', $referrer, 'You are not allowed to make modifications to this RSS feed at this time.'); + //error(get_string('noguestpost', 'forum'). + // ' You are not allowed to make modifications to this RSS feed at this time.', + // $referrer); + print_error('noguestpost', 'forum', $referrer, 'You are not allowed to make modifications to this RSS feed at this time.'); } $file = $CFG->dataroot .'/cache/rsscache/'. $rssid .'.xml'; -- 2.39.5