update_rss_feed: fix BLACKLISTED_TAGS not working properly, simplify tag-related code
This commit is contained in:
@@ -218,7 +218,7 @@ class Article extends Handler_Protected {
|
||||
$id = clean($_REQUEST["id"]);
|
||||
|
||||
$tags_str = clean($_REQUEST["tags_str"]);
|
||||
$tags = array_unique(trim_array(explode(",", $tags_str)));
|
||||
$tags = array_unique(array_map('trim', explode(",", $tags_str)));
|
||||
|
||||
$this->pdo->beginTransaction();
|
||||
|
||||
|
||||
Reference in New Issue
Block a user