projects
/
web.mtrack
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
6ff2408
)
web/ticket.php
author
Alan Knowles
<alan@akbkhome.com>
Thu, 27 Jan 2011 06:13:21 +0000
(14:13 +0800)
committer
Alan Knowles
<alan@akbkhome.com>
Thu, 27 Jan 2011 06:13:21 +0000
(14:13 +0800)
web/ticket.php
patch
|
blob
|
history
diff --git
a/web/ticket.php
b/web/ticket.php
index
bc031c5
..
b02be35
100644
(file)
--- a/
web/ticket.php
+++ b/
web/ticket.php
@@
-117,9
+117,11
@@
if ($_SERVER['REQUEST_METHOD'] == 'POST')
} catch (Exception $e) {
$error[] = $e->getMessage();
}
+
if ($id == 'new') {
- $comment = $_POST['comment'];
+ $comment =
empyt($_POST['comment']) ? '' :
$_POST['comment'];
}
+
if (!strlen($comment)) {
$comment = $_POST['summary'];
}