summaryrefslogtreecommitdiff
path: root/inc/template.php
diff options
context:
space:
mode:
authorChristopher Smith <chris@jalakai.co.uk>2014-03-05 22:06:18 +0000
committerChristopher Smith <chris@jalakai.co.uk>2014-03-05 22:06:18 +0000
commitd30d491370b894b5c76e28362a0a3313f74a439e (patch)
tree0543c32071e35a3a246cd01141b42b068fcd706d /inc/template.php
parent9b4337c6e7bb0fdfa0bffa4294b56b0624b93d79 (diff)
downloadrpg-d30d491370b894b5c76e28362a0a3313f74a439e.tar.gz
rpg-d30d491370b894b5c76e28362a0a3313f74a439e.tar.bz2
set empty 'do' key to avoid errors in other tpl functions
Diffstat (limited to 'inc/template.php')
-rw-r--r--inc/template.php6
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':