From 3c8c1734272386b41dc6d041d69ff073f855e0e5 Mon Sep 17 00:00:00 2001 From: johnnyq Date: Thu, 7 Sep 2023 17:10:50 -0400 Subject: [PATCH] Fix Bad column count error upon importing passwords via CSV --- post/login.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/post/login.php b/post/login.php index 074e0344..434adee2 100644 --- a/post/login.php +++ b/post/login.php @@ -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."; }