summaryrefslogtreecommitdiff
path: root/menu.pl
diff options
context:
space:
mode:
authoreinhverfr <einhverfr@4979c152-3d1c-0410-bac9-87ea11338e46>2007-03-17 21:05:28 +0000
committereinhverfr <einhverfr@4979c152-3d1c-0410-bac9-87ea11338e46>2007-03-17 21:05:28 +0000
commit92352426d189a6ad27c1d0b118b7b5c66882be95 (patch)
tree87a947f8e6c30a3f18bc29355eb39197606e8201 /menu.pl
parentf36ba09d0d65d4a3e2cc188f6366295ad27aa555 (diff)
nextsub is now treated the same way as sub, and special handling for ->{action}'s starting with ( |.) is removed
git-svn-id: https://ledger-smb.svn.sourceforge.net/svnroot/ledger-smb/trunk@931 4979c152-3d1c-0410-bac9-87ea11338e46
Diffstat (limited to 'menu.pl')
-rwxr-xr-xmenu.pl6
1 files changed, 1 insertions, 5 deletions
diff --git a/menu.pl b/menu.pl
index e6a0073a..bf32547b 100755
--- a/menu.pl
+++ b/menu.pl
@@ -137,11 +137,7 @@ if ($form->{action}) {
&check_password;
- if (substr($form->{action}, 0, 1) =~ /( |\.)/) {
- &{ $form->{nextsub} };
- } else {
- &{ $form->{action} };
- }
+ &{ $form->{action} };
} else {
$form->error(__FILE__.':'.__LINE__.': '.$locale->text('action= not defined!'));