Skip to content

Commit

Permalink
Another not checked variable before use (bug phpmyadmin#4114)
Browse files Browse the repository at this point in the history
  • Loading branch information
nijel committed Nov 25, 2013
1 parent d34e84e commit 7028247
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions error_report.php
Original file line number Diff line number Diff line change
Expand Up @@ -82,7 +82,9 @@
)
);
}
if ($_REQUEST['always_send'] === "true") {
if (isset($_REQUEST['always_send'])
&& $_REQUEST['always_send'] === "true"
) {
PMA_persistOption("SendErrorReports", "always", "ask");
}
}
Expand All @@ -91,4 +93,3 @@
} else {
$response->addHTML(PMA_getErrorReportForm());
}

0 comments on commit 7028247

Please sign in to comment.