Use Horde_String::ucfirst().
authorJan Schneider <jan@horde.org>
Tue, 4 Aug 2009 20:47:16 +0000 (22:47 +0200)
committerJan Schneider <jan@horde.org>
Tue, 4 Aug 2009 20:47:16 +0000 (22:47 +0200)
framework/Core/lib/Horde/Registry.php

index 1381faa..3738ec8 100644 (file)
@@ -407,7 +407,7 @@ class Horde_Registry
 
         /* Can't autoload here, since the application may not have been
          * initialized yet. */
-        $classname = ucfirst($app) . '_Api';
+        $classname = Horde_String::ucfirst($app) . '_Api';
         if (!@include_once $this->get('fileroot', $app) . '/lib/Api.php') {
             throw new Horde_Exception('Application ' . $app . ' is missing its API file.');
         }