forked from Cavemanon/cavepaintings
consistency
git-svn-id: file:///home/shish/svn/shimmie2/trunk@312 7f39781d-f577-437e-ae19-be835c7a54ca
This commit is contained in:
@ -13,7 +13,7 @@ class Home extends Extension {
|
||||
|
||||
public function receive_event($event) {
|
||||
global $page;
|
||||
if(is_a($event, 'PageRequestEvent') && ($event->page == "home"))
|
||||
if(is_a($event, 'PageRequestEvent') && ($event->page_name == "home"))
|
||||
{
|
||||
// this is a request to display this page so output the page.
|
||||
$this->output_pages();
|
||||
|
Reference in New Issue
Block a user