aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMax Kostikov <max@kostikov.co>2021-01-23 21:55:50 +0100
committerMax Kostikov <max@kostikov.co>2021-01-23 21:55:50 +0100
commit0a13c794abe7dfd5e92c396d8a4ea6bfc9a3c11c (patch)
treef84f635e323ad202abec2b0a0eaa7821f4aba3d4
parenta53f2864677ce769435058301f5601bf86aaa6fa (diff)
downloadvolse-hubzilla-0a13c794abe7dfd5e92c396d8a4ea6bfc9a3c11c.tar.gz
volse-hubzilla-0a13c794abe7dfd5e92c396d8a4ea6bfc9a3c11c.tar.bz2
volse-hubzilla-0a13c794abe7dfd5e92c396d8a4ea6bfc9a3c11c.zip
Variable typo
-rw-r--r--include/photo/photo_driver.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/include/photo/photo_driver.php b/include/photo/photo_driver.php
index 542d932f6..1ce2fd6e3 100644
--- a/include/photo/photo_driver.php
+++ b/include/photo/photo_driver.php
@@ -407,7 +407,7 @@ function import_channel_photo($photo, $type, $aid, $uid) {
intval(PHOTO_RES_PROFILE_300)
);
if ($r)
- hash = $r[0]['resource_id'];
+ $hash = $r[0]['resource_id'];
else
$hash = photo_new_resource();