diff options
author | Ludovic Arnaud <ludovic_arnaud@users.sourceforge.net> | 2003-04-09 22:17:55 +0000 |
---|---|---|
committer | Ludovic Arnaud <ludovic_arnaud@users.sourceforge.net> | 2003-04-09 22:17:55 +0000 |
commit | c17e275080d8b1834016d80687ccd5a4ecc674a7 (patch) | |
tree | c5715eac921d5fb50feb3155d3589b99c3f0d5a2 /phpBB/includes/functions_admin.php | |
parent | e5e9fd9cbacaec04f0df45c0c05a3944c3d47e74 (diff) | |
download | forums-c17e275080d8b1834016d80687ccd5a4ecc674a7.tar forums-c17e275080d8b1834016d80687ccd5a4ecc674a7.tar.gz forums-c17e275080d8b1834016d80687ccd5a4ecc674a7.tar.bz2 forums-c17e275080d8b1834016d80687ccd5a4ecc674a7.tar.xz forums-c17e275080d8b1834016d80687ccd5a4ecc674a7.zip |
Weekly update: MCP templates. Forms renamed to 'main', added mcp_jumpbox.html for easy jumping and mcp_foruminfo.html.
Not too happy with HTML though =" templates\subSilver\mcp_forum.html templates\subSilver\mcp_foruminfo.html templates\subSilver\mcp_front.html templates\subSilver\mcp_header.html templates\subSilver\mcp_jumpbox.html templates\subSilver\mcp_move.html templates\subSilver\mcp_post.html templates\subSilver\mcp_viewip.html templates\subSilver\mcp_viewlogs.html
git-svn-id: file:///svn/phpbb/trunk@3800 89ea8834-ac86-4346-8a33-228a782c2dd0
Diffstat (limited to 'phpBB/includes/functions_admin.php')
-rw-r--r-- | phpBB/includes/functions_admin.php | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/phpBB/includes/functions_admin.php b/phpBB/includes/functions_admin.php index 017f965907..1b85242572 100644 --- a/phpBB/includes/functions_admin.php +++ b/phpBB/includes/functions_admin.php @@ -96,6 +96,7 @@ function get_forum_list($acl_list = 'f_list', $id_only = TRUE, $postable_only = { $forum_rows[] = $row; } + $db->sql_freeresult(); } $rowset = array(); @@ -110,7 +111,6 @@ function get_forum_list($acl_list = 'f_list', $id_only = TRUE, $postable_only = $rowset[] = ($id_only) ? $row['forum_id'] : $row; } } - $db->sql_freeresult(); return $rowset; } @@ -1506,6 +1506,8 @@ function view_log($mode, &$log, &$log_count, $limit = 0, $offset = 0, $forum_id if (count($topic_id_list)) { + $topic_id_list = array_unique($topic_id_list); + // This query is not really needed if move_topics() updates the forum_id field, altough it's also used to determine if the topic still exists in the database $sql = 'SELECT topic_id, forum_id FROM ' . TOPICS_TABLE . ' |