mirror of https://github.com/MISP/MISP
parent
af6cb0e896
commit
f62dbfd595
|
@ -31,8 +31,9 @@ App::uses('Helper', 'View');
|
|||
* @package app.View.Helper
|
||||
*/
|
||||
class AppHelper extends Helper {
|
||||
function url($url = null, $full = false) {
|
||||
if(is_array($url) && !isset($url['admin'])){
|
||||
|
||||
public function url($url = null, $full = false) {
|
||||
if (is_array($url) && !isset($url['admin'])) {
|
||||
$url['admin'] = false;
|
||||
}
|
||||
return parent::url($url, $full);
|
||||
|
|
|
@ -1,11 +1,12 @@
|
|||
--- app/View/Helper/AppHelper.php.orig 2012-09-20 15:32:09.844653514 +0200
|
||||
+++ app/View/Helper/AppHelper.php 2012-09-06 13:45:12.791544951 +0200
|
||||
@@ -31,4 +31,10 @@
|
||||
@@ -31,4 +31,11 @@
|
||||
* @package app.View.Helper
|
||||
*/
|
||||
class AppHelper extends Helper {
|
||||
+ function url($url = null, $full = false) {
|
||||
+ if(is_array($url) && !isset($url['admin'])){
|
||||
+
|
||||
+ public function url($url = null, $full = false) {
|
||||
+ if (is_array($url) && !isset($url['admin'])) {
|
||||
+ $url['admin'] = false;
|
||||
+ }
|
||||
+ return parent::url($url, $full);
|
||||
|
|
Loading…
Reference in New Issue