From 5271232aa5428f171ba1dedc42165a6a1611334e Mon Sep 17 00:00:00 2001 From: Max Kostikov Date: Sat, 12 Sep 2020 12:20:09 +0200 Subject: Fix variable name --- include/photo/photo_driver.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/include/photo/photo_driver.php b/include/photo/photo_driver.php index 79d4e10bf..52f761b65 100644 --- a/include/photo/photo_driver.php +++ b/include/photo/photo_driver.php @@ -274,7 +274,7 @@ function import_xchan_photo($photo, $xchan, $thing = false, $force = false) { dbesc($xchan), intval(PHOTO_XCHAN) ); - $photo_notmofidied = true; + $photo_notmodified = true; $photo_failure = true; } } @@ -344,7 +344,7 @@ function import_xchan_photo($photo, $xchan, $thing = false, $force = false) { } } - if($photo_failure && ! isset($photo_notmofidied)) { + if($photo_failure && ! isset($photo_notmodified)) { $default = get_default_profile_photo(); $photo = z_root() . '/' . $default; $thumb = z_root() . '/' . get_default_profile_photo(80); -- cgit v1.2.3