summaryrefslogtreecommitdiff
path: root/classes/article.php
diff options
context:
space:
mode:
authorAndrew Dolgov <[email protected]>2018-11-29 23:04:12 +0300
committerAndrew Dolgov <[email protected]>2018-11-29 23:04:12 +0300
commited1262d55a01a6ffbefe01eb3b5fc22d33dfad24 (patch)
tree2c1af86ba18a07ad2b5fc7ab763485f4f04cf2da /classes/article.php
parent560b9fdd26c75aad829e8bd053c71b00df34c7e2 (diff)
oops, remove useless db_escape_string() in article class (and nsfw plugin)
Diffstat (limited to 'classes/article.php')
-rwxr-xr-xclasses/article.php3
1 files changed, 1 insertions, 2 deletions
diff --git a/classes/article.php b/classes/article.php
index c5e73ea02..075da1940 100755
--- a/classes/article.php
+++ b/classes/article.php
@@ -372,8 +372,7 @@ class Article extends Handler_Protected {
$ids = explode(",", clean($_REQUEST["ids"]));
$label_id = clean($_REQUEST["lid"]);
- $label = db_escape_string(Labels::find_caption($label_id,
- $_SESSION["uid"]));
+ $label = Labels::find_caption($label_id, $_SESSION["uid"]);
$reply["info-for-headlines"] = array();