Commit 829cef6e authored by Corentin Bettiol's avatar Corentin Bettiol 💻

change minor tag-related thing

parent 72e337a3
......@@ -6,8 +6,8 @@ class TagManager extends Base
{
// donne tags = [[tag1], [tag2], ...]
$tags = str_replace(' ', '', $tags);
$tags = explode(',', $tags);
$tags = explode(', ', $tags);
$tags = str_replace(' ', '-', $tags);
// on ajoute chaque tag dans les tables correspondantes
foreach ($tags as $tag)
......
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