Browse Source

fix url generation

euromark 13 years ago
parent
commit
c2070fef19
1 changed files with 1 additions and 1 deletions
  1. 1 1
      Model/Qurl.php

+ 1 - 1
Model/Qurl.php

@@ -104,7 +104,7 @@ class Qurl extends ToolsAppModel {
 		if ($title && $slugTitle) {
 			$title = Inflector::slug($title, '-');
 		}
-		return Router::url(array('admin'=>'', 'plugin'=>'tools', 'controller'=>'qurls', 'action'=>'go', $key, $title), true);
+		return Router::url(array('admin' => false, 'plugin'=>'tools', 'controller'=>'qurls', 'action'=>'go', $key, $title), true);
 	}
 
 	/**