commit | 57f9f39ca6edd4c9cea0f68b86da0ec7a9098f0b | [log] [tgz] |
---|---|---|
author | Derek Allard <derek.allard@ellislab.com> | Tue Sep 23 20:59:14 2008 +0000 |
committer | Derek Allard <derek.allard@ellislab.com> | Tue Sep 23 20:59:14 2008 +0000 |
tree | 6972ef0daa920c3f0934708f8916fa7b454218ad | |
parent | 9da2ee9155eb8694f06a125ac1bec166e9071ac8 [diff] |
change of a false test (yes, again)
diff --git a/system/libraries/Encrypt.php b/system/libraries/Encrypt.php index bd74592..656d51b 100644 --- a/system/libraries/Encrypt.php +++ b/system/libraries/Encrypt.php
@@ -141,7 +141,7 @@ { $key = $this->get_key($key); - if (preg_match('/[^a-zA-Z0-9\/\+=]/', $string) === FALSE) + if ( ! preg_match('/[a-zA-Z0-9\/\+=]/', $string)) { return FALSE; }