diff --git a/libraries/server_privileges.lib.php b/libraries/server_privileges.lib.php
index 2da7e71510..37a578bcd6 100644
--- a/libraries/server_privileges.lib.php
+++ b/libraries/server_privileges.lib.php
@@ -1729,7 +1729,9 @@ function PMA_getHtmlForSpecificDbPrivileges()
. ''
. '' . "\n";
- if ($GLOBALS['is_ajax_request'] == true && empty($_REQUEST['ajax_page_request'])) {
+ if ($GLOBALS['is_ajax_request'] == true
+ && empty($_REQUEST['ajax_page_request'])
+ ) {
$message = PMA_Message::success(__('User has been added.'));
$response = PMA_Response::getInstance();
$response->addJSON('message', $message);
@@ -1839,7 +1841,8 @@ function PMA_getHtmlTableBodyForSpecificDbPrivs($found, $row, $odd_row,
. '
' . "\n";
$html_output .= PMA_getUserEditLink(
$current_user, $current_host,
- ! (isset($current['Db']) || $current['Db'] == '*') ? '' : $current['Db']
+ (isset($current['Db']) && $current['Db'] != '*')
+ ? $current['Db'] : ''
);
$html_output .= ' | ' . "\n"
. ' ' . "\n";
@@ -2159,7 +2162,8 @@ function PMA_getLinkToDbAndTable($url_dbname, $dbname, $tablename)
* So this function returns user rights as an array
*
* @param array $tables tables
- * @param string $user_host_condition a where clause that containd user's host condition
+ * @param string $user_host_condition a where clause that containd user's host
+ * condition
* @param string $dbname database name
*
* @return array $db_rights database rights
@@ -2432,7 +2436,8 @@ function PMA_getHtmlForDisplaySelectDbInEditPrivs($found_rows)
// already escaped in $found_rows,
// contrary to the output of SHOW DATABASES
if (empty($found_rows) || ! in_array($current_db, $found_rows)) {
- $html_output .= '' . "\n";
}
}
@@ -2716,20 +2721,29 @@ function PMA_getFieldsetForAddDeleteUser()
. '' . "\n";
$html_output .= '' . "\n"
- . '(' . __('Revoke all active privileges from the users and delete them afterwards.') . ')'
+ . '('
+ . __('Revoke all active privileges from the users and delete them afterwards.')
+ . ')'
. '
' . "\n";
$html_output .= '' . "\n";
$html_output .= '' . "\n"
. '' . "\n";
- $html_output .= '