diff --git a/include/class.ticket.php b/include/class.ticket.php
index 881a5f0de7d242baad988801b67338911d1838aa..ab4fe10aacbaf7a363a44602dbd5b08bcd6deb72 100644
--- a/include/class.ticket.php
+++ b/include/class.ticket.php
@@ -1277,10 +1277,10 @@ class Ticket {
 
                 return $duedate;
                 break;
-            case 'close_date';
+            case 'close_date':
                 $closedate ='';
                 if($this->isClosed())
-                    $duedate = Format::date(
+                    $closedate = Format::date(
                             $cfg->getDateTimeFormat(),
                             Misc::db2gmtime($this->getCloseDate()),
                             $cfg->getTZOffset(),