From f77bc1b43451b7bd839502d7d118f96cad34c8a8 Mon Sep 17 00:00:00 2001 From: Jan Schneider Date: Tue, 4 Aug 2009 22:47:16 +0200 Subject: [PATCH] Use Horde_String::ucfirst(). --- framework/Core/lib/Horde/Registry.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/framework/Core/lib/Horde/Registry.php b/framework/Core/lib/Horde/Registry.php index 1381faa01..3738ec87d 100644 --- a/framework/Core/lib/Horde/Registry.php +++ b/framework/Core/lib/Horde/Registry.php @@ -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.'); } -- 2.11.0