Skip to content

Commit 6de0ef8

Browse files
committed
[per-config.php] Fix notification for Target URL
1 parent 2e691c2 commit 6de0ef8

File tree

1 file changed

+5
-1
lines changed

1 file changed

+5
-1
lines changed

www/per-config.php

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,11 @@
3232
if (isset($_POST['update_local_display_url'])) {
3333
if (isset($_POST['local_display_url']) && $_POST['local_display_url'] != $_SESSION['local_display_url']) {
3434
phpSession('write', 'local_display_url', $_POST['local_display_url']);
35-
submitJob('local_display_url', $_POST['local_display_url'], NOTIFY_TITLE_INFO, NAME_LOCALDISPLAY . NOTIFY_MSG_SVC_RESTARTED);
35+
if ($_POST['local_display'] == '1') {
36+
submitJob('local_display_url', $_POST['local_display_url'], NOTIFY_TITLE_INFO, NAME_LOCALDISPLAY . NOTIFY_MSG_SVC_RESTARTED);
37+
} else {
38+
submitJob('local_display_url', $_POST['local_display_url']);
39+
}
3640
}
3741
}
3842

0 commit comments

Comments
 (0)