diff options
author | Max Kostikov <max@kostikov.co> | 2020-09-12 12:20:09 +0200 |
---|---|---|
committer | Max Kostikov <max@kostikov.co> | 2020-09-12 12:20:09 +0200 |
commit | 5271232aa5428f171ba1dedc42165a6a1611334e (patch) | |
tree | 05957ff03b16d2431727bf600d0dc410f102f9db | |
parent | df758f40efdeb271d1e9086644ffba6b8fd10055 (diff) | |
download | volse-hubzilla-5271232aa5428f171ba1dedc42165a6a1611334e.tar.gz volse-hubzilla-5271232aa5428f171ba1dedc42165a6a1611334e.tar.bz2 volse-hubzilla-5271232aa5428f171ba1dedc42165a6a1611334e.zip |
Fix variable name
-rw-r--r-- | include/photo/photo_driver.php | 4 |
1 files 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); |