Skip to content

Commit

Permalink
#91
Browse files Browse the repository at this point in the history
  • Loading branch information
instantflorian committed Sep 22, 2021
1 parent c47a1ea commit 2af1fe7
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions delete_tag.php
Original file line number Diff line number Diff line change
Expand Up @@ -63,6 +63,10 @@
$database->query(sprintf(
"DELETE FROM `%smod_news_img_tags_sections` WHERE `section_id`=%d AND `tag_id`=%d",
TABLE_PREFIX, intval($section_id), $tag_id
));
$database->query(sprintf(
"DELETE FROM `%smod_news_img_tags` WHERE `tag_id`=$tag_id",
TABLE_PREFIX
));
}

Expand Down

0 comments on commit 2af1fe7

Please sign in to comment.