Fix Bad column count error upon importing passwords via CSV

This commit is contained in:
johnnyq 2023-09-07 17:10:50 -04:00
parent 6d1420712d
commit 3c8c173427
1 changed files with 1 additions and 1 deletions

View File

@ -141,7 +141,7 @@ if(isset($_POST["import_client_logins_csv"])){
//(Else)Check column count
$f = fopen($file_name, "r");
$f_columns = fgetcsv($f, 1000, ",");
if(!$error & count($f_columns) != 4) {
if(!$error & count($f_columns) != 5) {
$error = true;
$_SESSION['alert_message'] = "Bad column count.";
}