aboutsummaryrefslogtreecommitdiffstats
path: root/phpBB/includes/functions_display.php
diff options
context:
space:
mode:
Diffstat (limited to 'phpBB/includes/functions_display.php')
-rw-r--r--phpBB/includes/functions_display.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/phpBB/includes/functions_display.php b/phpBB/includes/functions_display.php
index a01f58d9b6..4bceade633 100644
--- a/phpBB/includes/functions_display.php
+++ b/phpBB/includes/functions_display.php
@@ -162,7 +162,7 @@ function display_forums($root_data = '', $display_moderators = TRUE)
$forum_unread[$parent_id] = true;
}
}
- $db->sql_freeresult();
+ $db->sql_freeresult($result);
// Handle marking posts
if ($mark_read == 'forums')