summaryrefslogtreecommitdiff
path: root/inc/actions.php
diff options
context:
space:
mode:
authorAndreas Gohr <andi@splitbrain.org>2010-08-27 10:37:07 +0200
committerAndreas Gohr <andi@splitbrain.org>2010-08-27 10:37:07 +0200
commit396c218f61d8626a516941cd6cd66f09e528e32c (patch)
tree1855c14144dd7c32e7e9a6c7edfe8b944cefc4a0 /inc/actions.php
parenta6bc56d03c064a1d747ccba79705cbac0e2bd453 (diff)
downloadrpg-396c218f61d8626a516941cd6cd66f09e528e32c.tar.gz
rpg-396c218f61d8626a516941cd6cd66f09e528e32c.tar.bz2
make use of tpl_get_action in tpl_actiondropdown FS#2005
Diffstat (limited to 'inc/actions.php')
-rw-r--r--inc/actions.php2
1 files changed, 2 insertions, 0 deletions
diff --git a/inc/actions.php b/inc/actions.php
index 914ff1ce6..3e0cb1207 100644
--- a/inc/actions.php
+++ b/inc/actions.php
@@ -185,6 +185,8 @@ function act_clean($act){
if($act == 'export_html') $act = 'export_xhtml';
if($act == 'export_htmlbody') $act = 'export_xhtmlbody';
+ if($act === '') $act = 'show';
+
// check if action is disabled
if(!actionOK($act)){
msg('Command disabled: '.htmlspecialchars($act),-1);