aboutsummaryrefslogtreecommitdiff
path: root/services
diff options
context:
space:
mode:
Diffstat (limited to 'services')
-rw-r--r--services/tagservice.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/services/tagservice.php b/services/tagservice.php
index fba85fa..02f5c2b 100644
--- a/services/tagservice.php
+++ b/services/tagservice.php
@@ -48,7 +48,7 @@ class TagService {
function updateDescription($tag, $uId, $desc) {
$objectTag = $this->getDescription($tag, $uId);
- if(count($objectTag)>0 && $objectTag['tDescription'] != '') {
+ if(count($objectTag)>0 ) {
$query = 'UPDATE '.$this->getTableName();
$query.= ' SET tDescription="'.$this->db->sql_escape($desc).'"';
$query.= ' WHERE tag="'.$tag.'" AND uId="'.$uId.'"';