From f46b56c921ee6c8d1efda6e725a4fbc42497a4d5 Mon Sep 17 00:00:00 2001 From: Roland Gruber Date: Sun, 17 Oct 2004 15:55:26 +0000 Subject: [PATCH] added info message for upload errors --- lam/lib/modules.inc | 1 + 1 file changed, 1 insertion(+) diff --git a/lam/lib/modules.inc b/lam/lib/modules.inc index 8f02ef1f..4ef93c63 100644 --- a/lam/lib/modules.inc +++ b/lam/lib/modules.inc @@ -467,6 +467,7 @@ function buildUploadAccounts($scope, $data, $ids) { $module = new $ordered[$i]($scope); $errors = $module->build_uploadAccounts($data, $ids, $partialAccounts); if (sizeof($errors) > 0) { + array_unshift($errors, array("INFO", _("Displayed account numbers start at \"0\". Add 2 to get the row in your spreadsheet."), "")); $errors[] = array("ERROR", _("Upload was stopped after errors in %s module!"), "", array($module->get_alias())); break; }