stany.ferer hai 1 ano
pai
achega
00833b828e
Modificáronse 1 ficheiros con 1 adicións e 1 borrados
  1. 1 1
      core/class/tags.class.php

+ 1 - 1
core/class/tags.class.php

@@ -62,7 +62,7 @@ class tags
     public static function getJquery(float $_idTag = NULL) {
         $tmp = "[";
         foreach (self::getAll($_idTag) as $tags) {
-            $tmp .= "'".$tags["label"]."', ";
+            $tmp .= "'".addslashes($tags["label"])."', ";
         }
         $tmp .= "]";
         return $tmp;