From 0e2d9432b562604c6256029e9301f479a9d2005e Mon Sep 17 00:00:00 2001 From: Zach Copley Date: Mon, 29 Aug 2011 11:17:59 -0700 Subject: [PATCH] Fix parameratized static function call so it works in PHP 5.2 --- lib/siteprofile.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/siteprofile.php b/lib/siteprofile.php index c294d24569..51ce907b19 100644 --- a/lib/siteprofile.php +++ b/lib/siteprofile.php @@ -48,7 +48,7 @@ class SiteProfile $sprofileClass = ucfirst($name) . "Site"; if (class_exists($sprofileClass)) { - return $sprofileClass::getSettings(); + return call_user_func(array($sprofileClass, 'getSettings')); } else { common_log( LOG_ERR, -- 2.39.5