]> git.mjollnir.org Git - moodle.git/commitdiff
Fix a bug passed on after commit of by http://lists.moodle.org/arc/commits/2007-12...
authorscyrma <scyrma>
Wed, 19 Dec 2007 05:58:27 +0000 (05:58 +0000)
committerscyrma <scyrma>
Wed, 19 Dec 2007 05:58:27 +0000 (05:58 +0000)
There shouldn't be html tags in this place.

blocks/rss_client/block_rss_client.php

index aa3d93e74aeadc256e237126bfa0f8d7b7a360fc..5e843d2a61373c277976e1cd32ab3b5f7371a93e 100644 (file)
             // if the feed has a title
             if (!empty($feedtitle) and ($feedtitle != '<a href="'. $rss->channel['link'] .'"></a>')) {
                 // set the block's title to the feed's title
-                $this->title = $feedtitle;
+                $this->title = strip_tags($feedtitle);
             }
         }
         return $returnstring;