$this->elementEnd('body');
$this->endHTML();
} else {
- common_redirect($saved->bestUrl(), 303);
+ common_redirect($saved->getUrl(), 303);
}
}
*
* @return void
*/
- function showNotice($notice)
+ function showNotice(Notice $notice)
{
class_exists('NoticeList'); // @fixme hack for autoloader
$nli = new NoticeListItem($notice, $this);