summaryrefslogtreecommitdiff
path: root/bin/am.pl
diff options
context:
space:
mode:
authoreinhverfr <einhverfr@4979c152-3d1c-0410-bac9-87ea11338e46>2007-04-26 20:28:38 +0000
committereinhverfr <einhverfr@4979c152-3d1c-0410-bac9-87ea11338e46>2007-04-26 20:28:38 +0000
commit6c5c1c36fa682244c355f6c06808ec715f0a2baa (patch)
tree632efc981a5735f7b8d424a680469b71597dd495 /bin/am.pl
parent6a118bd31a09a9b8aaabd84f8876952e1cdd6459 (diff)
Merging bugfixes from current branches/1.2
git-svn-id: https://ledger-smb.svn.sourceforge.net/svnroot/ledger-smb/trunk@1105 4979c152-3d1c-0410-bac9-87ea11338e46
Diffstat (limited to 'bin/am.pl')
-rw-r--r--bin/am.pl8
1 files changed, 4 insertions, 4 deletions
diff --git a/bin/am.pl b/bin/am.pl
index 1764384d..1eaec1f0 100644
--- a/bin/am.pl
+++ b/bin/am.pl
@@ -1527,7 +1527,7 @@ sub save_language {
foreach $file (@templates) {
if ( -f "$myconfig{templates}/$file" ) {
- open( TEMP, '<', "$myconfig{templates}/$file" )
+ open( TEMP, '<,', "$myconfig{templates}/$file" )
or $form->error("$myconfig{templates}/$file : $!");
open( NEW, '>', "$myconfig{templates}/$form->{code}/$file" )
@@ -2291,9 +2291,9 @@ sub config {
<form method=post action=$form->{script}>
-<input type=hidden name=old_password value=$myconfig{password}>
+<input type=hidden name=old_password value="$myconfig{password}">
<input type=hidden name=type value=preferences>
-<input type=hidden name=role value=$myconfig{role}>
+<input type=hidden name=role value="$myconfig{role}">
<table width=100%>
<tr><th class=listtop>$form->{title}</th></tr>
@@ -2337,7 +2337,7 @@ sub config {
<table>
<tr>
<th align="right">| . $locale->text('Password') . qq|</th>
- <td><input type=password name=new_password size=10 value=$myconfig{password}></td>
+ <td><input type=password name=new_password size=10 value="$myconfig{password}"></td>
</tr>
<tr>
<th align="right">| . $locale->text('Confirm') . qq|</th>