BUGFIX: Removed used of lcfirst, as it's PHP 5.3 only

This commit is contained in:
Sam Minnee 2012-03-09 18:21:01 +13:00
parent a34f7ccba4
commit 1535ce6d36

View File

@ -343,7 +343,8 @@ class SSViewer_DataPresenter extends SSViewer_Scope {
if (isset($details['method'])) $details['callable'] = array($implementer, $details['method']);
// Save with both uppercase & lowercase first letter, so either works
$extraArray[lcfirst($varName)] = $details;
$lcFirst = strtolower($varName[0]) . substr($varName,1);
$extraArray[$lcFirst] = $details;
$extraArray[ucfirst($varName)] = $details;
}
}