projects
/
civicrm-core.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
province abbreviation patch - issue 724
[civicrm-core.git]
/
CRM
/
Import
/
Parser.php
diff --git
a/CRM/Import/Parser.php
b/CRM/Import/Parser.php
index f50cff2fd12eb93c9a96d28bd6e6367a92cfb2b4..57c367ef19fd550c24c0e5d50d0c19d2861741ca 100644
(file)
--- a/
CRM/Import/Parser.php
+++ b/
CRM/Import/Parser.php
@@
-24,7
+24,7
@@
abstract class CRM_Import_Parser implements UserJobInterface {
/**
* Settings
*/
/**
* Settings
*/
- const MAX_WARNINGS = 25, DEFAULT_TIMEOUT = 30;
+ const MAX_
ERRORS = 10000, MAX_
WARNINGS = 25, DEFAULT_TIMEOUT = 30;
/**
* Return codes
/**
* Return codes
@@
-1301,7
+1301,7
@@
abstract class CRM_Import_Parser implements UserJobInterface {
}
else {
foreach ($required as $field => $label) {
}
else {
foreach ($required as $field => $label) {
- if (
empty($params[$field])
) {
+ if (
!isset($params[$field]) || $params[$field] === ''
) {
$missing[$field] = $label;
}
}
$missing[$field] = $label;
}
}