mirror of
https://github.com/fusionpbx/fusionpbx.git
synced 2026-01-06 11:43:50 +00:00
Update background_video
- Uses type array - Use the first item in the array
This commit is contained in:
@@ -17,7 +17,7 @@
|
||||
|
||||
The Initial Developer of the Original Code is
|
||||
Mark J Crane <markjcrane@fusionpbx.com>
|
||||
Portions created by the Initial Developer are Copyright (C) 2008-2022
|
||||
Portions created by the Initial Developer are Copyright (C) 2008-2024
|
||||
the Initial Developer. All Rights Reserved.
|
||||
|
||||
Contributor(s):
|
||||
@@ -158,6 +158,10 @@
|
||||
//assign the setings
|
||||
$view->assign('settings', $settings_array);
|
||||
}
|
||||
//background video
|
||||
if (!empty($_SESSION['theme']['background_video']) && is_array($_SESSION['theme']['background_video'])) {
|
||||
$view->assign('background_video', $_SESSION['theme']['background_video'][0]);
|
||||
}
|
||||
//document title
|
||||
if (isset($_SESSION['theme']['title']['text']) && $_SESSION['theme']['title']['text'] != '') {
|
||||
$document_title = $_SESSION['theme']['title']['text'];
|
||||
|
||||
Reference in New Issue
Block a user