diff options
author | Derek Allard <derek.allard@ellislab.com> | 2008-09-23 08:01:26 +0200 |
---|---|---|
committer | Derek Allard <derek.allard@ellislab.com> | 2008-09-23 08:01:26 +0200 |
commit | e5ad2c797162091fade9a809ccc4578d835027bd (patch) | |
tree | 978ef07f8be704457794e300c4d36f07f6a6dfe5 | |
parent | 9b8bc35dbaf3aa0f37885122dccb24d1d7811f1e (diff) |
change of a false test
-rw-r--r-- | system/libraries/Encrypt.php | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/system/libraries/Encrypt.php b/system/libraries/Encrypt.php index aabf90d08..16c9efe61 100644 --- a/system/libraries/Encrypt.php +++ b/system/libraries/Encrypt.php @@ -141,7 +141,7 @@ class CI_Encrypt { {
$key = $this->get_key($key);
- if ( ! preg_match('/[^a-zA-Z0-9\/\+=]/', $string))
+ if (preg_match('/[^a-zA-Z0-9\/\+=]/', $string) === FALSE)
{
return FALSE;
}
|