aboutsummaryrefslogtreecommitdiffstats
path: root/Zotlabs/Module/Import_items.php
diff options
context:
space:
mode:
authorredmatrix <git@macgirvin.com>2016-07-03 15:58:20 -0700
committerredmatrix <git@macgirvin.com>2016-07-03 15:58:20 -0700
commit57226b2e1378c2769709a2b2407249cc4e3b14f4 (patch)
treefbb6a4713b6ae9c5cb13ab47ffdb1d03a586c820 /Zotlabs/Module/Import_items.php
parent17e161006a9ddbfbea3e0b6d5f7776ad7b8101e2 (diff)
parentf46eecc1e7585e64069bb18918a2db057a16c480 (diff)
downloadvolse-hubzilla-57226b2e1378c2769709a2b2407249cc4e3b14f4.tar.gz
volse-hubzilla-57226b2e1378c2769709a2b2407249cc4e3b14f4.tar.bz2
volse-hubzilla-57226b2e1378c2769709a2b2407249cc4e3b14f4.zip
Merge branch 'dev' into perms
Diffstat (limited to 'Zotlabs/Module/Import_items.php')
-rw-r--r--Zotlabs/Module/Import_items.php2
1 files changed, 2 insertions, 0 deletions
diff --git a/Zotlabs/Module/Import_items.php b/Zotlabs/Module/Import_items.php
index 07b1c620c..f20cbfe7e 100644
--- a/Zotlabs/Module/Import_items.php
+++ b/Zotlabs/Module/Import_items.php
@@ -78,6 +78,8 @@ class Import_items extends \Zotlabs\Web\Controller {
// logger('import: data: ' . print_r($data,true));
// print_r($data);
+ if(! is_array($data))
+ return;
if(array_key_exists('compatibility',$data) && array_key_exists('database',$data['compatibility'])) {
$v1 = substr($data['compatibility']['database'],-4);