From 9d568c7bac02a2382ee5bd541421bcf0c26f6298 Mon Sep 17 00:00:00 2001 From: Joe Presbrey Date: Mon, 9 Apr 2007 22:50:00 +0000 Subject: [PATCH] PHP: fixed site class _default handler git-svn-id: svn://presbrey.mit.edu/php/lib@121 a142d4bd-2cfb-0310-9673-cb33a7e74f58 --- lib/joe/site.lib.php | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/lib/joe/site.lib.php b/lib/joe/site.lib.php index 1321a8b..c28c231 100755 --- a/lib/joe/site.lib.php +++ b/lib/joe/site.lib.php @@ -28,9 +28,7 @@ class Site { $nCalls++; } } - echo $nCalls; - print_r($page); - if ($nCalls == 0 && is_callable($page, '_default')) { + if ($nCalls == 0 && is_callable(array($page, '_default'))) { $page->Call('_default', $argv); $nCalls++; } -- 2.45.1