From 0d1b51576967ecbd1f771e1387e2ba1bd29fb799 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Michal=20=C4=8Ciha=C5=99?= Date: Mon, 30 Aug 2010 14:29:00 +0200 Subject: [PATCH] Fixed detection of ods_col_names (bug #3056017). --- libraries/import/ods.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/libraries/import/ods.php b/libraries/import/ods.php index 7df7edcbf..c0db7afbf 100644 --- a/libraries/import/ods.php +++ b/libraries/import/ods.php @@ -90,7 +90,7 @@ $rows = array(); /* Iterate over tables */ foreach ($sheets as $sheet) { - $col_names_in_first_row = $_REQUEST['ods_col_names']; + $col_names_in_first_row = isset($_REQUEST['ods_col_names']); /* Iterate over rows */ foreach ($sheet as $row) {