Browse Source

Remove pointless comparison.

mark_story 14 years ago
parent
commit
ad09b910ee
1 changed files with 1 additions and 1 deletions
  1. 1 1
      lib/Cake/Controller/Component/CookieComponent.php

+ 1 - 1
lib/Cake/Controller/Component/CookieComponent.php

@@ -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;
 		}