diff options
author | Rahul R <rahulr92@gmail.com> | 2012-04-05 01:19:46 +0530 |
---|---|---|
committer | Rahul R <rahulr92@gmail.com> | 2012-04-08 10:34:17 +0530 |
commit | 630c0397b9a1735fc60ef3704be41d05e4929ceb (patch) | |
tree | e0c876b1156dee4253a40d1392b35a8866f9a160 /phpBB/includes/functions_display.php | |
parent | 4bb20d7ceaf4d8f2cf19fa7f79ba239156326045 (diff) | |
download | forums-630c0397b9a1735fc60ef3704be41d05e4929ceb.tar forums-630c0397b9a1735fc60ef3704be41d05e4929ceb.tar.gz forums-630c0397b9a1735fc60ef3704be41d05e4929ceb.tar.bz2 forums-630c0397b9a1735fc60ef3704be41d05e4929ceb.tar.xz forums-630c0397b9a1735fc60ef3704be41d05e4929ceb.zip |
[ticket/10650] Corrected intendation
Corrected the intendation of if condition.
PHPBB3-10650
Diffstat (limited to 'phpBB/includes/functions_display.php')
-rw-r--r-- | phpBB/includes/functions_display.php | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/phpBB/includes/functions_display.php b/phpBB/includes/functions_display.php index 8e0005eadf..a28f546be0 100644 --- a/phpBB/includes/functions_display.php +++ b/phpBB/includes/functions_display.php @@ -398,10 +398,10 @@ function display_forums($root_data = '', $display_moderators = true, $return_mod { $last_post_subject = $row['forum_last_post_subject']; if (utf8_strlen(htmlspecialchars_decode($last_post_subject)) > 30) - { - $last_post_subject = htmlspecialchars(utf8_substr(htmlspecialchars_decode($last_post_subject, 0, 30))); - $last_post_subject .= '...'; - } + { + $last_post_subject = htmlspecialchars(utf8_substr(htmlspecialchars_decode($last_post_subject, 0, 30))); + $last_post_subject .= '...'; + } $last_post_time = $user->format_date($row['forum_last_post_time']); $last_post_url = append_sid("{$phpbb_root_path}viewtopic.$phpEx", 'f=' . $row['forum_id_last_post'] . '&p=' . $row['forum_last_post_id']) . '#p' . $row['forum_last_post_id']; } |