Permalink
Browse files

Code readability improved.

  • Loading branch information...
1 parent 9685d8d commit d44db6b80afd4c22371a2185e86ddb07c499c4bf @wiltave committed May 4, 2012
Showing with 7 additions and 6 deletions.
  1. +3 −2 browse_foreigners.php
  2. +4 −4 libraries/config/validate.lib.php
@@ -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']
+ ) . '...'
);
}
@@ -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'

0 comments on commit d44db6b

Please sign in to comment.