mirror of
https://codeberg.org/streams/streams.git
synced 2024-09-20 12:15:15 +00:00
Update Embedfiles.php
more testing
This commit is contained in:
parent
188588859f
commit
d66eb53415
1 changed files with 2 additions and 0 deletions
|
@ -31,6 +31,8 @@ class Embedfiles extends Controller
|
|||
|
||||
/* start add new */
|
||||
|
||||
$channel_id = ((isset(self::$profile) && is_array(self::$profile) && array_key_exists('uid',self::$profile)) ? self::$profile['uid'] : '');
|
||||
|
||||
$observer = App::get_observer();
|
||||
$result = attach_list_files($channel_id, $observer);
|
||||
json_return_and_die(['status' => true, 'content' => $result]);
|
||||
|
|
Loading…
Reference in a new issue