diff options
author | Andreas Gohr <andi@splitbrain.org> | 2010-08-27 10:37:07 +0200 |
---|---|---|
committer | Andreas Gohr <andi@splitbrain.org> | 2010-08-27 10:37:07 +0200 |
commit | 396c218f61d8626a516941cd6cd66f09e528e32c (patch) | |
tree | 1855c14144dd7c32e7e9a6c7edfe8b944cefc4a0 /inc/actions.php | |
parent | a6bc56d03c064a1d747ccba79705cbac0e2bd453 (diff) | |
download | rpg-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.php | 2 |
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); |