aboutsummaryrefslogtreecommitdiffstats
path: root/include/import.php
diff options
context:
space:
mode:
authorredmatrix <mike@macgirvin.com>2016-09-22 17:08:16 -0700
committerredmatrix <mike@macgirvin.com>2016-09-22 17:08:16 -0700
commit7b90b0dfd937c17eac61d6a1ca0f0619a3f4cdfd (patch)
tree38289a352a9c41a1990e1c2fa72806f70f0fee5b /include/import.php
parent24ddc8e026472368eb57cfa0abc522eb4a568e71 (diff)
downloadvolse-hubzilla-7b90b0dfd937c17eac61d6a1ca0f0619a3f4cdfd.tar.gz
volse-hubzilla-7b90b0dfd937c17eac61d6a1ca0f0619a3f4cdfd.tar.bz2
volse-hubzilla-7b90b0dfd937c17eac61d6a1ca0f0619a3f4cdfd.zip
issue #526
Diffstat (limited to 'include/import.php')
-rw-r--r--include/import.php3
1 files changed, 3 insertions, 0 deletions
diff --git a/include/import.php b/include/import.php
index ddffb2ac3..15aa7c2b3 100644
--- a/include/import.php
+++ b/include/import.php
@@ -1217,6 +1217,9 @@ function sync_files($channel,$files) {
$p['content'] = base64_decode($p['content']);
+ if(!isset($p['display_path']))
+ $p['display_path'] = '';
+
$exists = q("select * from photo where resource_id = '%s' and imgscale = %d and uid = %d limit 1",
dbesc($p['resource_id']),
intval($p['imgscale']),