From 6ed0cb3726fe4577ad7b6e331198088fe17916eb Mon Sep 17 00:00:00 2001 From: lorilee Date: Tue, 20 Jul 2010 13:56:28 -0700 Subject: [PATCH] Corrected syntax for checking if a checkbox is checked --- libraries/import/csv.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/libraries/import/csv.php b/libraries/import/csv.php index 09e600446..c6200881e 100644 --- a/libraries/import/csv.php +++ b/libraries/import/csv.php @@ -362,7 +362,7 @@ if ($analyze) { } } - if ($_REQUEST['csv_col_names']) { + if (isset($_REQUEST['csv_col_names'])) { $col_names = array_splice($rows, 0, 1); $col_names = $col_names[0]; }