Fix parameratized static function call so it works in PHP 5.2

This commit is contained in:
Zach Copley 2011-08-29 11:17:59 -07:00
parent a1907f20c4
commit 0e2d9432b5

View File

@ -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,