Small Bugfix.
Samba-Flag wasn'T filled with whitespaces to constant length
This commit is contained in:
parent
87cb401fe0
commit
a5a4350024
|
@ -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;
|
||||
}
|
||||
|
|
|
@ -257,6 +257,8 @@ echo '</title>
|
|||
<tr><td></td></tr>';
|
||||
|
||||
|
||||
echo smbflag();
|
||||
|
||||
if (!$select_local) $select_local='general';
|
||||
if ($_POST['createagain']) {
|
||||
$select_local='general';
|
||||
|
|
Loading…
Reference in New Issue