aboutsummaryrefslogtreecommitdiffstats
path: root/include/photo/photo_driver.php
diff options
context:
space:
mode:
authorMax Kostikov <max@kostikov.co>2021-01-23 20:57:47 +0000
committerMax Kostikov <max@kostikov.co>2021-01-23 20:57:47 +0000
commit6b0c61ac6bf45993f5d89b976c4d11c7e287aa38 (patch)
treef84f635e323ad202abec2b0a0eaa7821f4aba3d4 /include/photo/photo_driver.php
parenta53f2864677ce769435058301f5601bf86aaa6fa (diff)
parent0a13c794abe7dfd5e92c396d8a4ea6bfc9a3c11c (diff)
downloadvolse-hubzilla-6b0c61ac6bf45993f5d89b976c4d11c7e287aa38.tar.gz
volse-hubzilla-6b0c61ac6bf45993f5d89b976c4d11c7e287aa38.tar.bz2
volse-hubzilla-6b0c61ac6bf45993f5d89b976c4d11c7e287aa38.zip
Merge branch 'dev' into 'dev'
Variable typo See merge request hubzilla/core!1897
Diffstat (limited to 'include/photo/photo_driver.php')
-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();