diff options
author | Max Kostikov <max@kostikov.co> | 2018-11-10 11:53:49 +0100 |
---|---|---|
committer | Max Kostikov <max@kostikov.co> | 2018-11-10 11:53:49 +0100 |
commit | d34423fce9c581bab03b7fa42721b84805d7be24 (patch) | |
tree | 8f19d2a38f50658ce76d7e2daf731389af975d65 /include | |
parent | d20759c1419ae905e70c7bc6b8acaf3e3918d210 (diff) | |
download | volse-hubzilla-d34423fce9c581bab03b7fa42721b84805d7be24.tar.gz volse-hubzilla-d34423fce9c581bab03b7fa42721b84805d7be24.tar.bz2 volse-hubzilla-d34423fce9c581bab03b7fa42721b84805d7be24.zip |
Fixed wrong value assign on compare with 0
Diffstat (limited to 'include')
-rw-r--r-- | include/photo/photo_driver.php | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/include/photo/photo_driver.php b/include/photo/photo_driver.php index a4866bb60..cced7bf03 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'; |