summaryrefslogtreecommitdiffstatshomepage
path: root/src/SemanticScuttle/Service/Tag.php
diff options
context:
space:
mode:
authorGravatar Christian Weiske2011-08-06 10:38:44 +0200
committerGravatar Christian Weiske2011-08-06 10:38:44 +0200
commitd2e437b4db84300e2b543c5827d8f517a81afaef (patch)
tree7863a0a733514684bef0917ccf3ebf3b2a0aac5a /src/SemanticScuttle/Service/Tag.php
parent5743a34a6c7757d3030479f96326f09fe5dce0b2 (diff)
parent097ecf9c510e1435d02be7843bc7e865570338ac (diff)
downloadscuttle-d2e437b4db84300e2b543c5827d8f517a81afaef.tar.gz
scuttle-d2e437b4db84300e2b543c5827d8f517a81afaef.zip
Merge branch '0.98'
Diffstat (limited to 'src/SemanticScuttle/Service/Tag.php')
-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]));
}