Small Bugfix.

Samba-Flag wasn'T filled with whitespaces to constant length
This commit is contained in:
katagia 2003-05-18 09:45:56 +00:00
parent 87cb401fe0
commit a5a4350024
2 changed files with 3 additions and 1 deletions

View File

@ -529,7 +529,7 @@ function smbflag() { // Creates te attribute attrFlags
if ($_SESSION['account']->smb_flagsW) $flag = $flag . "W"; else $flag = $flag . "U";
if ($_SESSION['account']->smb_flagsD) $flag = $flag . "D";
if ($_SESSION['account']->smb_flagsX) $flag = $flag . "X";
str_pad($flag, 12);
$flag = str_pad($flag, 12);
$flag = $flag. "]";
return $flag;
}

View File

@ -257,6 +257,8 @@ echo '</title>
<tr><td></td></tr>';
echo smbflag();
if (!$select_local) $select_local='general';
if ($_POST['createagain']) {
$select_local='general';