forked from GNUsocial/gnu-social
Fix parameratized static function call so it works in PHP 5.2
This commit is contained in:
parent
a1907f20c4
commit
0e2d9432b5
@ -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,
|
||||
|
Loading…
Reference in New Issue
Block a user