summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorchristopherm <christopherm@4979c152-3d1c-0410-bac9-87ea11338e46>2006-09-13 13:58:08 +0000
committerchristopherm <christopherm@4979c152-3d1c-0410-bac9-87ea11338e46>2006-09-13 13:58:08 +0000
commit26481b1cc57416dbe1b93dd4e27d7fb62021243c (patch)
tree9900c2b6954e12377d726603aee35f79b67f8f51
parent9c7983f5cd23027bdd73694bfc3b5d269af9998b (diff)
menu items were missing a closing " in the href if there was no target (mostly visible in lynx)
git-svn-id: https://ledger-smb.svn.sourceforge.net/svnroot/ledger-smb/trunk@82 4979c152-3d1c-0410-bac9-87ea11338e46
-rwxr-xr-xLedgerSMB/Menu.pm3
1 files changed, 3 insertions, 0 deletions
diff --git a/LedgerSMB/Menu.pm b/LedgerSMB/Menu.pm
index 834d1419..a9e74074 100755
--- a/LedgerSMB/Menu.pm
+++ b/LedgerSMB/Menu.pm
@@ -72,6 +72,9 @@ sub menuitem {
if ($target) {
$str .= qq|" target="$target"|;
}
+ else{
+ $str .= '"';
+ }
$str .= qq|>|;