]> git.ipfire.org Git - people/pmueller/ipfire-2.x.git/commitdiff
samba.cgi don't overwrite old errormessage.
authorArne Fitzenreiter <arne_f@ipfire.org>
Tue, 9 Feb 2010 07:18:13 +0000 (08:18 +0100)
committerArne Fitzenreiter <arne_f@ipfire.org>
Tue, 9 Feb 2010 07:18:13 +0000 (08:18 +0100)
html/cgi-bin/samba.cgi

index 4438a8bd7e9f5342c6e93a4bf5666dc8c4702bae..4b8de89e57d747011a5a64e0360571e4d4baf05b 100644 (file)
@@ -126,7 +126,7 @@ my $PDCOPTIONS = `cat ${General::swroot}/samba/pdc`;
 sub refreshpage{&Header::openbox( 'Waiting', 1, "<meta http-equiv='refresh' content='1;'>" );print "<center><img src='/images/clock.gif' alt='' /><br/><font color='red'>$Lang::tr{'pagerefresh'}</font></center>";&Header::closebox();}
 
 if (($sambasettings{'WIDELINKS'} eq 'on') & ($sambasettings{'UNIXEXTENSION'} eq 'on'))
-  {$errormessage="Don't enable 'Wide links' and 'Unix extension' at the same time"; }
+  {$errormessage = "$errormessage<br />Don't enable 'Wide links' and 'Unix extension' at the same time"; }
 
 &Header::openpage('Samba', 1, '');
 &Header::openbigbox('100%', 'left', '', $errormessage);