Browse Source

Changed array_key_diff to unset

Huw Jones 8 years ago
parent
commit
a392600bad
1 changed files with 1 additions and 1 deletions
  1. 1 1
      src/View/Helper/HtmlHelper.php

+ 1 - 1
src/View/Helper/HtmlHelper.php

@@ -347,7 +347,7 @@ class HtmlHelper extends Helper
         $escapeTitle = true;
         if ($url !== null) {
             $url = $this->Url->build($url, $options);
-            $options = array_diff_key($options, ['fullBase' => null]);
+            unset($options['fullBase']);
         } else {
             $url = $this->Url->build($title);
             $title = htmlspecialchars_decode($url, ENT_QUOTES);