diff --git a/include/client/view.inc.php b/include/client/view.inc.php
index 782653f7a62482f5d6023cc0c79420f8d05ae0fe..c94cddd85c5feca4a40019adbcdbc2f40232e46c 100644
--- a/include/client/view.inc.php
+++ b/include/client/view.inc.php
@@ -62,7 +62,7 @@ if(!$dept || !$dept->isPublic())
 if($ticket->getThreadCount() && ($thread=$ticket->getClientThread())) {
     $threadType=array('M' => 'message', 'R' => 'response');
     foreach($thread as $entry) {
-        if($entry['body'], '-')
+        if($entry['body']=='-')
             $entry['body'] = '(EMPTY)';
 
         //Making sure internal notes are not displayed due to backend MISTAKES!
diff --git a/include/staff/ticket-view.inc.php b/include/staff/ticket-view.inc.php
index 9d5cc3a704538824679d612920b561ccee226e0f..96ef6f2aa924d10743ed9539493dd0f14d5e9e2b 100644
--- a/include/staff/ticket-view.inc.php
+++ b/include/staff/ticket-view.inc.php
@@ -332,7 +332,7 @@ if(!$cfg->showNotesInline()) { ?>
         $types[] = 'N';
     if(($thread=$ticket->getThreadEntries($types))) {
        foreach($thread as $entry) {
-           if($entry['body'], '-')
+           if($entry['body']=='-')
                $entry['body'] = '(EMPTY)';
            ?>
         <table class="<?php echo $threadTypes[$entry['thread_type']]; ?>" cellspacing="0" cellpadding="1" width="940" border="0">