Importing webpage elements from manually entered cloud file path work. All detected elements are automatically imported.

This commit is contained in:
Andrew Manning
2016-07-17 16:05:26 -04:00
parent 75fb065526
commit d6b28cdc57
3 changed files with 26 additions and 7 deletions

View File

@@ -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;