WBCE CMS – Way Better Content Editing.
You are not logged in.
Just an FYI - I was doing some testing of the Tags implementation and I noticed that the entry in the mod_news_img_tags database is not deleted when you delete a Tag in the backend. Not sure if this is by design, or something that was missed.
Online
It's a bug. I will see how to fix it.
Code allein macht nicht glücklich. Jetzt spenden!
Offline
So maybe I'm wrong, but for me it seems that deleting the tag was just forgotten since global tags *are* deleted.
In the /modules/news_img/delete_tag.php, after
// remove the local tag
$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
));
add, accordingly to the deleting of global tags, just
$database->query(sprintf(
"DELETE FROM `%smod_news_img_tags` WHERE `tag_id`=$tag_id",
TABLE_PREFIX
));
This seems to work without complications...?
Last edited by florian (22.09.2021 15:52:27)
Code allein macht nicht glücklich. Jetzt spenden!
Offline