Fix parameratized static function call so it works in PHP 5.2
This commit is contained in:
@@ -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,
|
||||
|
Reference in New Issue
Block a user