diff options
author | Andrew Manning <tamanning@zoho.com> | 2016-07-17 16:05:26 -0400 |
---|---|---|
committer | Andrew Manning <tamanning@zoho.com> | 2016-07-17 16:05:26 -0400 |
commit | d6b28cdc575aba40c6a7861d4c2031d844a848d9 (patch) | |
tree | cf5ff33140d95189d0958af8882c69b08ac99d6a /include/attach.php | |
parent | 75fb065526d11714c1c0fd8a4b6f94dea65674ae (diff) | |
download | volse-hubzilla-d6b28cdc575aba40c6a7861d4c2031d844a848d9.tar.gz volse-hubzilla-d6b28cdc575aba40c6a7861d4c2031d844a848d9.tar.bz2 volse-hubzilla-d6b28cdc575aba40c6a7861d4c2031d844a848d9.zip |
Importing webpage elements from manually entered cloud file path work. All detected elements are automatically imported.
Diffstat (limited to 'include/attach.php')
-rw-r--r-- | include/attach.php | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/include/attach.php b/include/attach.php index 0ca87624f..40410d41e 100644 --- a/include/attach.php +++ b/include/attach.php @@ -1972,7 +1972,7 @@ function get_filename_by_cloudname($cloudname, $channel, $storepath) { foreach($items as $item) { $filename = find_filename_by_hash($channel['channel_id'], $item); if($filename === $cloudname) { - return $filename; + return $item; } } return null; |