Commit 0e2d9432 authored by Zach Copley's avatar Zach Copley

Fix parameratized static function call so it works in PHP 5.2

parent a1907f20
......@@ -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,
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment