|
|
@@ -79,7 +79,7 @@ class User extends Backend |
|
|
|
'username', |
|
|
|
'password', |
|
|
|
'email', |
|
|
|
// 'floor' |
|
|
|
'floor' |
|
|
|
]; |
|
|
|
|
|
|
|
|
|
|
@@ -98,7 +98,7 @@ class User extends Backend |
|
|
|
'username', |
|
|
|
'password', |
|
|
|
'email', |
|
|
|
// 'floor' |
|
|
|
'floor' |
|
|
|
]; |
|
|
|
for ($currentRow = 2; $currentRow <= $allRow; $currentRow++) { |
|
|
|
$values = []; |
|
|
@@ -112,6 +112,9 @@ class User extends Backend |
|
|
|
if (!$val){ |
|
|
|
continue 2; |
|
|
|
} |
|
|
|
if ($currentColumn==5 && !$val){ |
|
|
|
$val=-1; |
|
|
|
} |
|
|
|
$values[] = is_null($val) ? '' : $val; |
|
|
|
} |
|
|
|
// $row = []; |
|
|
|