Remove pointless comparison.

This commit is contained in:
mark_story 2012-02-12 10:09:25 -05:00
parent ab09229d40
commit ad09b910ee

View file

@ -484,7 +484,7 @@ class CookieComponent extends Component {
*/
protected function _explode($string) {
$first = substr($string, 0, 1);
if ($first !== false && $first === '{' || $first === '[') {
if ($first === '{' || $first === '[') {
$ret = json_decode($string, true);
return ($ret != null) ? $ret : $string;
}