Permalink
Browse files

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

  • Loading branch information...
1 parent a34f7cc commit 1535ce6d36a75618050f9b258e4c567b687ef258 @sminnee sminnee committed Mar 9, 2012
Showing with 2 additions and 1 deletion.
  1. +2 −1 view/SSViewer.php
View
@@ -343,7 +343,8 @@ protected function createCallableArray(&$extraArray, $interfaceToQuery, $variabl
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;
}
}

0 comments on commit 1535ce6

Please sign in to comment.