Skip to content

Commit

Permalink
Code readability improved.
Browse files Browse the repository at this point in the history
  • Loading branch information
wiltave committed May 4, 2012
1 parent 9685d8d commit d44db6b
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 6 deletions.
5 changes: 3 additions & 2 deletions browse_foreigners.php
Expand Up @@ -268,8 +268,9 @@ function formupdate(fieldmd5, key) {
$key_ordered_current_val
);
$key_ordered_current_val = htmlspecialchars(
PMA_substr($key_ordered_current_val, 0, $cfg['LimitChars'])
. '...'
PMA_substr(
$key_ordered_current_val, 0, $cfg['LimitChars']
) . '...'
);
}

Expand Down
8 changes: 4 additions & 4 deletions libraries/config/validate.lib.php
Expand Up @@ -282,10 +282,10 @@ function validate_server($path, $values)
if ($values['Servers/1/auth_type'] == 'signon'
&& empty($values['Servers/1/SignonSession'])
) {
$message = 'Empty signon session name while using signon '
. 'authentication method';
$result['Servers/1/SignonSession'] = __($message);
unset($message);
$result['Servers/1/SignonSession'] = __(
'Empty signon session name '
. 'while using signon authentication method'
);
$error = true;
}
if ($values['Servers/1/auth_type'] == 'signon'
Expand Down

0 comments on commit d44db6b

Please sign in to comment.