From 54854aff43f25b6b1d035811ce2839ed6e0ca292 Mon Sep 17 00:00:00 2001 From: gwoo Date: Mon, 24 Sep 2007 09:56:25 +0000 Subject: [PATCH] fixes #3285 git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@5687 3807eeeb-6ff5-0310-8944-8be069107fe0 --- cake/libs/security.php | 3 +++ 1 file changed, 3 insertions(+) diff --git a/cake/libs/security.php b/cake/libs/security.php index 9aec9491f..bcb4a859e 100644 --- a/cake/libs/security.php +++ b/cake/libs/security.php @@ -80,6 +80,9 @@ class Security extends Object{ */ function generateAuthKey() { $_this =& Security::getInstance(); + if(!class_exists('String')) { + uses('string'); + } return $_this->hash(String::uuid()); } /**