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:
authorMadhura Jayaratne <madhura.cj@gmail.com>2013-10-22 05:55:45 +0400
committerMadhura Jayaratne <madhura.cj@gmail.com>2013-10-22 05:55:45 +0400
commitb92fabb0d50f50ab3d35248f433be13dedd6dd6f (patch)
tree29b3beb299e360c3ff3a495cd31d633dca07febd /error_report.php
parentcb798bc5d2459dd3c0c343ae8f31c0d9a0f0ec83 (diff)
Fix coding style
Diffstat (limited to 'error_report.php')
-rw-r--r--error_report.php30
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");
}
}