aboutsummaryrefslogtreecommitdiffstats
path: root/phpBB/includes/functions_display.php
diff options
context:
space:
mode:
authorRahul R <rahulr92@gmail.com>2012-04-05 01:19:46 +0530
committerRahul R <rahulr92@gmail.com>2012-04-05 01:19:46 +0530
commit7bb9e301994cb9789478b32c1282238e5762acee (patch)
tree328fb4b9a3490fb2b54f35ef60948f7559df0b6b /phpBB/includes/functions_display.php
parent08bee4c522dd68f7da591fd8ea7a674ac5b9bf67 (diff)
downloadforums-7bb9e301994cb9789478b32c1282238e5762acee.tar
forums-7bb9e301994cb9789478b32c1282238e5762acee.tar.gz
forums-7bb9e301994cb9789478b32c1282238e5762acee.tar.bz2
forums-7bb9e301994cb9789478b32c1282238e5762acee.tar.xz
forums-7bb9e301994cb9789478b32c1282238e5762acee.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.php8
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'] . '&amp;p=' . $row['forum_last_post_id']) . '#p' . $row['forum_last_post_id'];
}