Fixing a notice: $this->footer wasn't always set.

This doesn't happen in 1.5 so it must have been a regression.
This commit is contained in:
defacer 2005-07-06 00:51:20 +00:00
parent fdc36b2f98
commit c7d6e27451

View File

@ -49,10 +49,11 @@ class block_rss_client extends block_base {
}
$this->content = new stdClass;
$this->content->text = '';
$this->content->footer = '';
if (empty($this->instance)) {
// We're being asked for content without an associated instance
$this->content->text = '';
return $this->content;
}