projects
/
horde.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
0e5db44
)
Don't show errors before we've actually done anything.
author
Michael J. Rubinsky
<mrubinsk@horde.org>
Wed, 7 Jul 2010 22:13:09 +0000
(18:13 -0400)
committer
Michael J. Rubinsky
<mrubinsk@horde.org>
Wed, 7 Jul 2010 22:16:24 +0000
(18:16 -0400)
kronolith/data.php
patch
|
blob
|
history
diff --git
a/kronolith/data.php
b/kronolith/data.php
index
71fd906
..
8d7fefd
100644
(file)
--- a/
kronolith/data.php
+++ b/
kronolith/data.php
@@
-182,7
+182,7
@@
case Horde_Data::IMPORT_FILE:
break;
}
-if (!$error) {
+if (!$error
&& $import_format
) {
$data = null;
try {
$data = $injector->getInstance('Horde_Data')->getData($import_format, array('cleanup' => '_cleanupData'));