aboutsummaryrefslogtreecommitdiffstats
path: root/include/photo/photo_driver.php
diff options
context:
space:
mode:
authorMario Vavti <mario@mariovavti.com>2018-11-11 14:01:25 +0100
committerMario Vavti <mario@mariovavti.com>2018-11-11 14:01:25 +0100
commitd57cdf645eaef9dec124c3e517c979c359bc8906 (patch)
tree223ff778be767c230abda7e5c83f62776a8b84ee /include/photo/photo_driver.php
parent750d6f4be93a6b638d55cba8d9f22d4b93a83fce (diff)
parente47a96bf247322fa12b5543c42cf69519039c1c3 (diff)
downloadvolse-hubzilla-d57cdf645eaef9dec124c3e517c979c359bc8906.tar.gz
volse-hubzilla-d57cdf645eaef9dec124c3e517c979c359bc8906.tar.bz2
volse-hubzilla-d57cdf645eaef9dec124c3e517c979c359bc8906.zip
Merge branch 'dev' of https://framagit.org/hubzilla/core into dev
Diffstat (limited to 'include/photo/photo_driver.php')
-rw-r--r--include/photo/photo_driver.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/include/photo/photo_driver.php b/include/photo/photo_driver.php
index cced7bf03..4173d727e 100644
--- a/include/photo/photo_driver.php
+++ b/include/photo/photo_driver.php
@@ -637,7 +637,7 @@ function import_xchan_photo($photo,$xchan,$thing = false,$force = false) {
if(is_null($type))
$photo_failure = true;
}
- elseif($result['return_code'] === 304) {
+ elseif($result['return_code'] == 304) {
$photo = z_root() . '/photo/' . $hash . '-4';
$thumb = z_root() . '/photo/' . $hash . '-5';
$micro = z_root() . '/photo/' . $hash . '-6';