summaryrefslogtreecommitdiff
path: root/src/SemanticScuttle/Service
diff options
context:
space:
mode:
authorChristian Weiske <cweiske@cweiske.de>2011-08-05 06:47:37 +0200
committerChristian Weiske <cweiske@cweiske.de>2011-08-05 06:47:37 +0200
commit9c18fe1cc7e22077763baa545144cc01d5d94eab (patch)
treee02942d580ad6fdc8b4622c5d9575a3290ca2dca /src/SemanticScuttle/Service
parentc1528d1c5bf82d1a637fa6ac8b245e2a565f5f59 (diff)
downloadsemanticscuttle-9c18fe1cc7e22077763baa545144cc01d5d94eab.tar.gz
semanticscuttle-9c18fe1cc7e22077763baa545144cc01d5d94eab.tar.bz2
Fix bug #3386178: "system:unfiled" secret tag does not work
Diffstat (limited to 'src/SemanticScuttle/Service')
-rw-r--r--src/SemanticScuttle/Service/Tag.php1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/SemanticScuttle/Service/Tag.php b/src/SemanticScuttle/Service/Tag.php
index 8325285..2476608 100644
--- a/src/SemanticScuttle/Service/Tag.php
+++ b/src/SemanticScuttle/Service/Tag.php
@@ -143,6 +143,7 @@ class SemanticScuttle_Service_Tag extends SemanticScuttle_DbService
if(!is_array($tags)) {
$tags = utf8_strtolower(trim($tags));
} else {
+ $tags = array_filter($tags);//remove empty values
for($i=0; $i<count($tags); $i++) {
$tags[$i] = utf8_strtolower(trim($tags[$i]));
}