From: Zach Copley Date: Mon, 29 Aug 2011 18:17:59 +0000 (-0700) Subject: Fix parameratized static function call so it works in PHP 5.2 X-Git-Url: https://git.mxchange.org/?a=commitdiff_plain;h=0e2d9432b562604c6256029e9301f479a9d2005e;p=quix0rs-gnu-social.git Fix parameratized static function call so it works in PHP 5.2 --- 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,