From 8988a1fadecab03b58eda4107a9872dc10b05f0b Mon Sep 17 00:00:00 2001 From: zero Date: Tue, 24 Jul 2007 05:50:56 +0000 Subject: [PATCH] =?UTF-8?q?=EC=9E=98=EB=AA=BB=EB=90=9C=20act=20=ED=98=B8?= =?UTF-8?q?=EC=B6=9C=EC=9D=84=20=EB=8C=80=EB=B9=84=ED=95=98=EC=97=AC=20act?= =?UTF-8?q?=EC=97=90=20=ED=95=B4=EB=8B=B9=ED=95=98=EB=8A=94=20method?= =?UTF-8?q?=EA=B0=80=20=EC=9E=88=EB=8A=94=EC=A7=80=20=EC=B2=B4=ED=81=AC?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit git-svn-id: http://xe-core.googlecode.com/svn/trunk@1983 201d5d3c-b55e-5fd7-737f-ddc643e51545 --- classes/module/ModuleObject.class.php | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/classes/module/ModuleObject.class.php b/classes/module/ModuleObject.class.php index c38a66cc6..3255e4b58 100644 --- a/classes/module/ModuleObject.class.php +++ b/classes/module/ModuleObject.class.php @@ -313,7 +313,9 @@ if($this->xml_info->default_index_act) { //$output = call_user_method($this->xml_info->default_index_act, $this); //$output = call_user_func(array($this, $this->xml_info->default_index_act)); - $output = $this->{$this->xml_info->default_index_act}(); + if(method_exists($this, $this->xml_info->default_index_act)) { + $output = $this->{$this->xml_info->default_index_act}(); + } } else { return false; }