aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMax Kostikov <max@kostikov.co>2019-06-21 23:15:16 +0200
committerMax Kostikov <max@kostikov.co>2019-06-21 23:15:16 +0200
commitb1b415ec5b46f56a335a31527c9f987854be7282 (patch)
tree40f9de9510b8ba135e9493d69e17a4f747b170a2
parent8730bbac2fd93a9ddc9922f7fed3d89abad1eccc (diff)
downloadvolse-hubzilla-b1b415ec5b46f56a335a31527c9f987854be7282.tar.gz
volse-hubzilla-b1b415ec5b46f56a335a31527c9f987854be7282.tar.bz2
volse-hubzilla-b1b415ec5b46f56a335a31527c9f987854be7282.zip
Fix thumbnails processing logic on files sync
-rw-r--r--include/import.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/include/import.php b/include/import.php
index 24ad1b901..caf25f5d2 100644
--- a/include/import.php
+++ b/include/import.php
@@ -1390,7 +1390,7 @@ function sync_files($channel, $files) {
$p['content'] = (($p['content'])? base64_decode($p['content']) : '');
}
- if (intval($p['imgscale']) && ((intval($p['os_storage'])) || (! $p['content']))) {
+ if(intval($p['imgscale'])) {
$time = datetime_convert();