Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/phpmyadmin/phpmyadmin.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMichal Čihař <michal@cihar.com>2013-11-18 18:01:53 +0400
committerMichal Čihař <michal@cihar.com>2013-11-18 18:01:53 +0400
commitaefabf53359445b7696db374c6c4b7ed8998b231 (patch)
tree2858b1d65075d0e546a87ecfd4eb7f5c320ec30e /error_report.php
parent240a6fd93ffdc3fa70edf26c85d60087ffb7f3b3 (diff)
Check whether variable is set
Diffstat (limited to 'error_report.php')
-rw-r--r--error_report.php4
1 files changed, 3 insertions, 1 deletions
diff --git a/error_report.php b/error_report.php
index 430818d9e9..bb1a1420dc 100644
--- a/error_report.php
+++ b/error_report.php
@@ -22,7 +22,9 @@ if (isset($_REQUEST['send_error_report'])
$success = !empty($decoded_response) ? $decoded_response["success"] : false;
}
- if ($_REQUEST['automatic'] === "true") {
+ if (isset($_REQUEST['automatic'])
+ && $_REQUEST['automatic'] === "true"
+ ) {
if ($success) {
$response->addJSON(
'message',