aboutsummaryrefslogtreecommitdiffstats
path: root/include/photo/photo_driver.php
diff options
context:
space:
mode:
authorMax Kostikov <max@kostikov.co>2020-09-12 12:20:09 +0200
committerMax Kostikov <max@kostikov.co>2020-09-12 12:20:09 +0200
commit5271232aa5428f171ba1dedc42165a6a1611334e (patch)
tree05957ff03b16d2431727bf600d0dc410f102f9db /include/photo/photo_driver.php
parentdf758f40efdeb271d1e9086644ffba6b8fd10055 (diff)
downloadvolse-hubzilla-5271232aa5428f171ba1dedc42165a6a1611334e.tar.gz
volse-hubzilla-5271232aa5428f171ba1dedc42165a6a1611334e.tar.bz2
volse-hubzilla-5271232aa5428f171ba1dedc42165a6a1611334e.zip
Fix variable name
Diffstat (limited to 'include/photo/photo_driver.php')
-rw-r--r--include/photo/photo_driver.php4
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);