aboutsummaryrefslogtreecommitdiff
path: root/engine/lib/tags.php
diff options
context:
space:
mode:
authorSteve Clay <steve@mrclay.org>2013-02-04 20:51:07 -0500
committerCash Costello <cash.costello@gmail.com>2013-02-09 07:53:45 -0500
commit707df9db27cf2154910978427b9844448bcf931a (patch)
tree6ca8ba536758fe2f34ac6a55a18b7befa76bc74c /engine/lib/tags.php
parent85e4c16f39a8b00b229644bcd175663541dfd51a (diff)
downloadelgg-707df9db27cf2154910978427b9844448bcf931a.tar.gz
elgg-707df9db27cf2154910978427b9844448bcf931a.tar.bz2
Small changes to remove static analysis noise and simplify flow
Diffstat (limited to 'engine/lib/tags.php')
-rw-r--r--engine/lib/tags.php1
1 files changed, 1 insertions, 0 deletions
diff --git a/engine/lib/tags.php b/engine/lib/tags.php
index a25bd7d33..586a9b9e4 100644
--- a/engine/lib/tags.php
+++ b/engine/lib/tags.php
@@ -172,6 +172,7 @@ function elgg_get_tags(array $options = array()) {
// catch for tags that were spaces
$wheres[] = "msv.string != ''";
+ $sanitised_tags = array();
foreach ($options['tag_names'] as $tag) {
$sanitised_tags[] = '"' . sanitise_string($tag) . '"';
}