Update photo_driver.php

This commit is contained in:
Max Kostikov 2018-11-10 20:45:20 +01:00
parent b57d296adc
commit a49cfa8142

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