From 92e6f621d2b244f83eda95674370b9de1196cabd Mon Sep 17 00:00:00 2001 From: Roland Gruber Date: Tue, 16 Sep 2008 17:12:25 +0000 Subject: [PATCH] less PHP notices --- lam/templates/massBuildAccounts.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lam/templates/massBuildAccounts.php b/lam/templates/massBuildAccounts.php index 02a9e3e6..3c9e9b63 100644 --- a/lam/templates/massBuildAccounts.php +++ b/lam/templates/massBuildAccounts.php @@ -141,7 +141,7 @@ if ($_FILES['inputfile'] && ($_FILES['inputfile']['size'] > 0)) { // check if values in unique columns are correct for ($i = 0; $i < sizeof($columns); $i++) { - if ($columns[$i]['unique'] == true) { + if (isset($columns[$i]['unique']) && ($columns[$i]['unique'] == true)) { $colNumber = $ids[$columns[$i]['name']]; $values_given = array(); for ($r = 0; $r < sizeof($data); $r++) {