diff options
author | Madhura Jayaratne <madhura.cj@gmail.com> | 2011-12-07 21:58:50 +0400 |
---|---|---|
committer | Madhura Jayaratne <madhura.cj@gmail.com> | 2011-12-07 21:58:50 +0400 |
commit | 35b18e57a26331c3f4a124ca21b37f82b006faa6 (patch) | |
tree | 610896af060c4f754ed6344d1e45bb70c43c74ef /browse_foreigners.php | |
parent | a7c00f719f1ba7725db25aa66741536dceb2ead2 (diff) |
Coding style improvements - Multiline assignments
Diffstat (limited to 'browse_foreigners.php')
-rw-r--r-- | browse_foreigners.php | 17 |
1 files changed, 9 insertions, 8 deletions
diff --git a/browse_foreigners.php b/browse_foreigners.php index 74e4e993ac..dd9979bc69 100644 --- a/browse_foreigners.php +++ b/browse_foreigners.php @@ -223,22 +223,23 @@ if (is_array($foreignData['disp_row'])) { $val_ordered_current_val = htmlspecialchars($val_ordered_current_val); $val_ordered_current_val_title = ''; } else { - $val_ordered_current_val_title = - htmlspecialchars($val_ordered_current_val); + $val_ordered_current_val_title + = htmlspecialchars($val_ordered_current_val); $val_ordered_current_val = htmlspecialchars( PMA_substr($val_ordered_current_val, 0, $cfg['LimitChars']) . '...' - ); + ); } if (PMA_strlen($key_ordered_current_val) <= $cfg['LimitChars']) { $key_ordered_current_val = htmlspecialchars($key_ordered_current_val); $key_ordered_current_val_title = ''; } else { - $key_ordered_current_val_title = - htmlspecialchars($key_ordered_current_val); - $key_ordered_current_val = - htmlspecialchars(PMA_substr($key_ordered_current_val, 0, - $cfg['LimitChars']) . '...'); + $key_ordered_current_val_title + = htmlspecialchars($key_ordered_current_val); + $key_ordered_current_val + = htmlspecialchars( + PMA_substr($key_ordered_current_val, 0, $cfg['LimitChars']) . '...' + ); } if (! empty($data)) { |