Update of /cvsroot/openfirst/feedback
In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv14156
Modified Files:
index.php
Log Message:
Set default type of message to be comment. Fixes bug id #108
Index: index.php
===================================================================
RCS file: /cvsroot/openfirst/feedback/index.php,v
retrieving revision 1.17
retrieving revision 1.18
diff -C2 -d -r1.17 -r1.18
*** index.php 24 Dec 2003 18:22:18 -0000 1.17
--- index.php 9 Apr 2004 18:13:42 -0000 1.18
***************
*** 102,105 ****
--- 102,106 ----
// Mail who they wish to contact.
if (isset($user->user)) { $isuser = "registered user"; } else { $isuser = "unregistered user"; }
+ if(! isset($_POST["type"])) { $_POST["type"] = "comment"; }
if (function_exists("multipartmail")) {
multipartmail($_POST["to"], "Feedback: $isuser " . $_POST["type"], $_POST["message"]
|