aboutsummaryrefslogtreecommitdiffstats
path: root/include
diff options
context:
space:
mode:
authorMax Kostikov <max@kostikov.co>2018-11-10 20:45:20 +0100
committerMax Kostikov <max@kostikov.co>2018-11-10 20:45:20 +0100
commita49cfa81425b24c4c2b52eec67dd82649cd1bf61 (patch)
treefa5d2658be5f6d0e3d4ac744574d28c2adb455a5 /include
parentb57d296adccc54131df9b0271a29e385b2095454 (diff)
downloadvolse-hubzilla-a49cfa81425b24c4c2b52eec67dd82649cd1bf61.tar.gz
volse-hubzilla-a49cfa81425b24c4c2b52eec67dd82649cd1bf61.tar.bz2
volse-hubzilla-a49cfa81425b24c4c2b52eec67dd82649cd1bf61.zip
Update photo_driver.php
Diffstat (limited to 'include')
-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';