Fixed wrong value assign on compare with 0

This commit is contained in:
Max Kostikov 2018-11-10 11:53:49 +01:00
parent d20759c141
commit d34423fce9

View File

@ -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';