Another not checked variable before use (bug #4114)

This commit is contained in:
Michal Čihař 2013-11-25 09:25:16 +01:00
parent 9e877e6eb0
commit b027060c87

View File

@ -82,7 +82,9 @@ if (isset($_REQUEST['send_error_report'])
)
);
}
if ($_REQUEST['always_send'] === "true") {
if (isset($_REQUEST['always_send'])
&& $_REQUEST['always_send'] === "true"
) {
PMA_persistOption("SendErrorReports", "always", "ask");
}
}
@ -91,4 +93,3 @@ if (isset($_REQUEST['send_error_report'])
} else {
$response->addHTML(PMA_getErrorReportForm());
}