diff options
-rw-r--r-- | lib/Db/Item.php | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/lib/Db/Item.php b/lib/Db/Item.php index 8c46a4973..447d8de5b 100644 --- a/lib/Db/Item.php +++ b/lib/Db/Item.php @@ -170,10 +170,9 @@ class Item extends Entity implements IAPI, \JsonSerializable ? implode('', $this->getCategories()) : ''; + $stripedBody = ""; if (!is_null($this->getBody())) { $stripedBody = strip_tags($this->getBody()); - } else { - $stripedBody = ""; } $input_list = array($stripedBody, $this->getAuthor(), $this->getTitle(), $categoriesString); |