add new block dialog to scheduler

This commit is contained in:
Sundog Jones 2024-09-25 11:18:29 -04:00
parent ec02a912f4
commit 468ff5411b
1 changed files with 5 additions and 0 deletions

View File

@ -61,6 +61,11 @@ if (isset($_POST['new_tag']) && $_POST['new_tag'] !== "") {
$tagsForBlock['bumpers'] = $tags; $tagsForBlock['bumpers'] = $tags;
$allTagsForBlock = array(); $allTagsForBlock = array();
$allTagsForBlock['program'] = array();
$allTagsForBlock['promos'] = array();
$allTagsForBlock['commercials'] = array();
$allTagsForBlock['bumpers'] = array();
while ($row = $tagsForBlockResult->fetchArray(SQLITE3_ASSOC)) { while ($row = $tagsForBlockResult->fetchArray(SQLITE3_ASSOC)) {
$allTagsForBlock[$row['slot_type']][] = $row['tag_id']; $allTagsForBlock[$row['slot_type']][] = $row['tag_id'];
} }