diff options
author | Madhura Jayaratne <madhura.cj@gmail.com> | 2013-10-22 05:55:45 +0400 |
---|---|---|
committer | Madhura Jayaratne <madhura.cj@gmail.com> | 2013-10-22 05:55:45 +0400 |
commit | b92fabb0d50f50ab3d35248f433be13dedd6dd6f (patch) | |
tree | 29b3beb299e360c3ff3a495cd31d633dca07febd /error_report.php | |
parent | cb798bc5d2459dd3c0c343ae8f31c0d9a0f0ec83 (diff) |
Fix coding style
Diffstat (limited to 'error_report.php')
-rw-r--r-- | error_report.php | 30 |
1 files changed, 20 insertions, 10 deletions
diff --git a/error_report.php b/error_report.php index 9f3cdd68a6..1b9fa017f8 100644 --- a/error_report.php +++ b/error_report.php @@ -13,17 +13,27 @@ $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 ' - .'automatically submitted based on your settings.') - . '<br />' - . __('You may want to refresh the page.'))); + $response->addJSON( + 'message', + PMA_Message::error( + __( + 'An error has been detected and an error report has been ' + .'automatically submitted based on your settings.' + ) + . '<br />' + . __('You may want to refresh the page.') + ) + ); } else { - $response->addJSON('message', PMA_Message::success( - __('Thank you for submitting this report.') - . '<br />' - . __('You may want to refresh the page.'))); - if($_REQUEST['always_send'] === "true") { + $response->addJSON( + 'message', + PMA_Message::success( + __('Thank you for submitting this report.') + . '<br />' + . __('You may want to refresh the page.') + ) + ); + if ($_REQUEST['always_send'] === "true") { PMA_persistOption("SendErrorReports", "always", "ask"); } } |