From e2cb24b61d6e0f023024e7ad3df69674c0cab9e4 Mon Sep 17 00:00:00 2001 From: Jakub Jakubiec Date: Mon, 24 Mar 2014 10:37:24 +0100 Subject: [PATCH] Fix for json import not working due to invalid library name --- .../libraries/JSONImportStateMachine/JSONImportStateMarks.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/application/libraries/JSONImportStateMachine/JSONImportStateMarks.php b/application/libraries/JSONImportStateMachine/JSONImportStateMarks.php index ff257e8a..c215b1c3 100644 --- a/application/libraries/JSONImportStateMachine/JSONImportStateMarks.php +++ b/application/libraries/JSONImportStateMachine/JSONImportStateMarks.php @@ -91,7 +91,7 @@ public function processLine($line) // Strip trailing comma and simulate JSON $jsonLine = mb_ereg_replace("\\,[ ]*$", '', $line); $decodedMark = json_decode($jsonLine); - $importResult = $this->CI->Mark_Import->importMark($decodedMark); + $importResult = $this->CI->mark_import->importMark($decodedMark); $this->importData['result']['total'] ++; $this->importData['result'][$importResult['result']] ++; if (self::RETURN_DETAILS && (! self::RETURN_DETAILS_ERRORS_ONLY || $importResult['result'] === self::RESULT_FAILED || ! empty($importResult['warnings']))) {