From: fabien Date: Tue, 22 Dec 2009 07:18:45 +0000 (+0000) Subject: removed unneeded call to ucfirst X-Git-Url: http://git.silmor.de/gitweb/?a=commitdiff_plain;h=8a9401ca742260b66f77ebb9c55f83ccd6d4dcfd;p=konrad%2Ftwig.git removed unneeded call to ucfirst git-svn-id: http://svn.twig-project.org/trunk@195 93ef8e89-cb99-4229-a87c-7fa0fa45744b --- diff --git a/lib/Twig/Resource.php b/lib/Twig/Resource.php index 4fcd620..d33e4cd 100644 --- a/lib/Twig/Resource.php +++ b/lib/Twig/Resource.php @@ -55,7 +55,7 @@ abstract class Twig_Resource !is_object($object) || ( !method_exists($object, $method = $item) && - !method_exists($object, $method = 'get'.ucfirst($item)) + !method_exists($object, $method = 'get'.$item) ) ) {