BUG 0000 PM tables data import translation missing error

This commit is contained in:
Erik Amaru Ortiz
2011-07-28 10:05:07 -04:00
parent 5d41c0e2cd
commit 21de5a77a4

View File

@@ -551,7 +551,7 @@ class pmTablesProxy extends HttpProxyController
while (($aAux = fgetcsv($oFile, 4096, $_POST['form']['CSV_DELIMITER'])) !== false) { while (($aAux = fgetcsv($oFile, 4096, $_POST['form']['CSV_DELIMITER'])) !== false) {
if(count($aAdditionalTables['FIELDS']) != count($aAux)){ if(count($aAdditionalTables['FIELDS']) != count($aAux)){
$this->success = false; $this->success = false;
$this->message = 'INVALID_FILE'; $this->message = G::LoadTranslation('INVALID_FILE');
return 0; return 0;
} }
if($i == 1) { if($i == 1) {