Skip to content

Commit

Permalink
Merge pull request phpmyadmin#730 from m0hamed/error_report_fix
Browse files Browse the repository at this point in the history
Fixed bug where send error report not being called
  • Loading branch information
Marc Delisle committed Oct 16, 2013
2 parents 2c01fd9 + 70d73fe commit 5d92e16
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions error_report.php
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,7 @@
$response = PMA_Response::getInstance();

if ($_REQUEST['send_error_report'] == true) {
PMA_sendErrorReport(PMA_getReportData(false));
if ($_REQUEST['automatic'] === "true") {
$response->addJSON('message', PMA_Message::error(
__('An error has been detected and an error report has been '
Expand Down

0 comments on commit 5d92e16

Please sign in to comment.