web/ticket.php
authorAlan Knowles <alan@akbkhome.com>
Thu, 27 Jan 2011 10:01:44 +0000 (18:01 +0800)
committerAlan Knowles <alan@akbkhome.com>
Thu, 27 Jan 2011 10:01:44 +0000 (18:01 +0800)
web/ticket.php

index 0146667..f6883e6 100644 (file)
@@ -119,7 +119,7 @@ if ($_SERVER['REQUEST_METHOD'] == 'POST')
   }
   
   if ($id == 'new') {
-    $comment = empyt($_POST['comment']) ? '' : $_POST['comment'];
+    $comment = empty($_POST['comment']) ? '' : $_POST['comment'];
   }
   
   if (!strlen($comment)) {