diff --git a/classes/api.php b/classes/api.php index 0cac0bb90..a1ed7968c 100755 --- a/classes/api.php +++ b/classes/api.php @@ -1,7 +1,7 @@ pdo->quote($data); + if ($field == "score") $set_to = (int) $data; if ($field && $set_to && count($article_ids) > 0) {