Skip to content

Commit

Permalink
Merge branch 'hotfix-json-import'
Browse files Browse the repository at this point in the history
  • Loading branch information
kip9 committed Mar 24, 2014
2 parents 51bd566 + e2cb24b commit bcc231e
Showing 1 changed file with 1 addition and 1 deletion.
Expand Up @@ -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']))) {
Expand Down

0 comments on commit bcc231e

Please sign in to comment.