fix Parser (#37)
This commit is contained in:
parent
48ebb7068c
commit
50fe957a3a
1 changed files with 2 additions and 2 deletions
|
@ -723,8 +723,8 @@ class MoySkladICMLParser
|
|||
|
||||
unset($value);
|
||||
|
||||
if (!empty(trim($error, ' / '))) {
|
||||
return trim($error, ' / ');
|
||||
if (!empty($error)) {
|
||||
return $error;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Add table
Reference in a new issue