From 6c8ce984aad2fa830da219cd2665c378cecec340 Mon Sep 17 00:00:00 2001 From: Mark Story Date: Sat, 20 Mar 2010 18:15:52 -0400 Subject: [PATCH] Adding import for String to ensure that String has been loaded when Security component is used without making any database connections. Fixes #482 --- cake/libs/controller/components/security.php | 1 + 1 file changed, 1 insertion(+) diff --git a/cake/libs/controller/components/security.php b/cake/libs/controller/components/security.php index f702c194a..e49f69966 100644 --- a/cake/libs/controller/components/security.php +++ b/cake/libs/controller/components/security.php @@ -23,6 +23,7 @@ * @lastmodified $Date$ * @license http://www.opensource.org/licenses/mit-license.php The MIT License */ +App::import('Core', 'String'); /** * Short description for file. *