projects
/
civicrm-core.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Merge pull request #16626 from pradpnayak/lineItemFixes
[civicrm-core.git]
/
CRM
/
Event
/
Import
/
Parser.php
diff --git
a/CRM/Event/Import/Parser.php
b/CRM/Event/Import/Parser.php
index b168d2f9fec6df44e964e79eccfa18cc370aaf7c..c1ec6a7989631010b30cb138f123719f31d63d09 100644
(file)
--- a/
CRM/Event/Import/Parser.php
+++ b/
CRM/Event/Import/Parser.php
@@
-70,7
+70,7
@@
abstract class CRM_Event_Import_Parser extends CRM_Import_Parser {
$onDuplicate = self::DUPLICATE_SKIP
) {
if (!is_array($fileName)) {
$onDuplicate = self::DUPLICATE_SKIP
) {
if (!is_array($fileName)) {
-
CRM_Core_Error::fatal(
);
+
throw new CRM_Core_Exception('Unable to determine import file'
);
}
$fileName = $fileName['name'];
}
$fileName = $fileName['name'];