diff options
author | Christopher Smith <chris@jalakai.co.uk> | 2014-03-05 22:06:18 +0000 |
---|---|---|
committer | Christopher Smith <chris@jalakai.co.uk> | 2014-03-05 22:06:18 +0000 |
commit | d30d491370b894b5c76e28362a0a3313f74a439e (patch) | |
tree | 0543c32071e35a3a246cd01141b42b068fcd706d /inc | |
parent | 9b4337c6e7bb0fdfa0bffa4294b56b0624b93d79 (diff) | |
download | rpg-d30d491370b894b5c76e28362a0a3313f74a439e.tar.gz rpg-d30d491370b894b5c76e28362a0a3313f74a439e.tar.bz2 |
set empty 'do' key to avoid errors in other tpl functions
Diffstat (limited to 'inc')
-rw-r--r-- | inc/template.php | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/inc/template.php b/inc/template.php index d9aa8863f..c0dfbb845 100644 --- a/inc/template.php +++ b/inc/template.php @@ -637,7 +637,7 @@ function tpl_get_action($type) { $accesskey = 'v'; } } else { - $params = array(); + $params = array('do' => ''); $type = 'show'; $accesskey = 'v'; } @@ -658,7 +658,7 @@ function tpl_get_action($type) { break; case 'top': $accesskey = 't'; - $params = array(); + $params = array('do' => ''); $id = '#dokuwiki__top'; break; case 'back': @@ -667,7 +667,7 @@ function tpl_get_action($type) { return false; } $id = $parent; - $params = array(); + $params = array('do' => ''); $accesskey = 'b'; break; case 'login': |