diff --git a/changelog.json b/changelog.json index a6a669a..b9db57f 100644 --- a/changelog.json +++ b/changelog.json @@ -1,4 +1,12 @@ [ + { + "version": "1.7.2", + "downloadUrl": "https://github.com/engram-design/CPNav/archive/1.7.2.zip", + "date": "2016-02-03 14:46:00", + "notes": [ + "[Fixed] Fixed issue with url's not being properly sanitised and processed." + ] + }, { "version": "1.7.1", "downloadUrl": "https://github.com/engram-design/CPNav/archive/1.7.1.zip", diff --git a/cpnav/CpNavPlugin.php b/cpnav/CpNavPlugin.php index da6a87c..7115550 100644 --- a/cpnav/CpNavPlugin.php +++ b/cpnav/CpNavPlugin.php @@ -14,7 +14,7 @@ public function getName() public function getVersion() { - return '1.7.1'; + return '1.7.2'; } public function getSchemaVersion() diff --git a/cpnav/services/CpNavService.php b/cpnav/services/CpNavService.php index 27879ee..3bc1a68 100644 --- a/cpnav/services/CpNavService.php +++ b/cpnav/services/CpNavService.php @@ -64,7 +64,7 @@ public function modifyCpNav(&$nav) if ($newNav->enabled) { $nav[$newNav->handle] = array( 'label' => $newNav->currLabel, - 'url' => $newNav->url, + 'url' => $url, ); // Check for placeholder icons - we need to fetch from the plugin