Commit 636b37f0 authored by Corentin Bettiol's avatar Corentin Bettiol 💻

change minor tag-related thing (oops)

parent 829cef6e
......@@ -9,6 +9,7 @@ class TagManager extends Base
$tags = explode(', ', $tags);
$tags = str_replace(' ', '-', $tags);
if($tags[0] != ''){
// on ajoute chaque tag dans les tables correspondantes
foreach ($tags as $tag)
{
......@@ -33,6 +34,7 @@ class TagManager extends Base
]);
}
}
}
// supprime toutes les relations entre les tags et un post de blog ($post)
function deleteTag($post)
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment