Skip to content

Commit

Permalink
Manually implement PR bcit-ci#2033
Browse files Browse the repository at this point in the history
Check for an empty encryption_key shouldn't use strict comparison.
  • Loading branch information
narfbg committed Nov 26, 2012
1 parent f5513d6 commit 4abd094
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion system/libraries/Session/drivers/Session_cookie.php
Original file line number Diff line number Diff line change
Expand Up @@ -219,7 +219,7 @@ protected function initialize()
: $this->CI->config->item($key);
}

if ($this->encryption_key === '')
if (empty($this->encryption_key))
{
show_error('In order to use the Cookie Session driver you are required to set an encryption key in your config file.');
}
Expand Down

0 comments on commit 4abd094

Please sign in to comment.