Commit 2854f135 authored by Andrew Vincent Pover's avatar Andrew Vincent Pover
Browse files

Update page feedback widget to ignore empty feedback

parent 798035f8
Loading
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -5,7 +5,7 @@
$contact = "devel@lists.sucs.org";

if ($session->loggedin) {
    if ($_REQUEST["action"] == "feedback") {
    if ($_REQUEST["action"] == "feedback" && $_REQUEST["feedback"] != "") {
        $feedback = $_REQUEST["feedback"];

        $msgbody = "{$session->username} had this to say about the page {$_SERVER['REQUEST_URI']}:\r\n\r\n";