*
* @return void
*/
- function handle($args)
+ function handle(array $args=array())
{
// Throws exception on error
$subscribe = new SearchSubForm($this, $this->search);
$subscribe->show();
$this->elementEnd('body');
- $this->elementEnd('html');
+ $this->endHTML();
} else {
$url = common_local_url('search',
array('search' => $this->search));