1.0.1 wee

This commit is contained in:
Ice
2008-09-10 17:24:23 +00:00
parent b28427c3bb
commit 6c14c49567
4 changed files with 25 additions and 5 deletions

View File

@@ -10,7 +10,7 @@
*
*/
$current_version = '1.0.0RC3';
$current_version = '1.0.1';
// If only checking version, exit.
if( defined('IN_PHPBB') )
@@ -39,7 +39,7 @@ $page_title = 'Board3portal v' . $current_version;
if( $user->data['is_registered'] && $auth->acl_get('a_board') )
{
$version_array = array('0.1.0', '0.2.0', '0.2.1', '0.2.2', '0.3.0', '1.0.0RC1', '1.0.0RC2', 'p3p1.2.2', 'p3p1.2.1', 'p3p1.2.0', 'p3p1.1.0b');
$version_array = array('0.1.0', '0.2.0', '0.2.1', '0.2.2', '0.3.0', '1.0.0RC1', '1.0.0RC2', '1.0.0RC3', '1.0.0', 'p3p1.2.2', 'p3p1.2.1', 'p3p1.2.0', 'p3p1.1.0b');
$old_version = 0;
$phpbb3portal = false;

View File

@@ -68,7 +68,7 @@ $sql_update['1.0.0RC2'] = array(
"INSERT INTO phpbb_portal_config (config_name, config_value) VALUES ('portal_leaders_ext', '0');",
);
$sql_update['1.0.0RC3'] = array(
$sql_update['1.0.0'] = array(
"INSERT INTO phpbb_portal_config (config_name, config_value) VALUES ('portal_show_announcements_replies_views', '1');",
"INSERT INTO phpbb_portal_config (config_name, config_value) VALUES ('portal_show_news_replies_views', '1');",
);

View File

@@ -276,7 +276,7 @@ function phpbb_fetch_posts($forum_from, $permissions, $number_of_posts, $text_le
// Pull attachment data
$sql2 = 'SELECT *
FROM ' . ATTACHMENTS_TABLE . '
WHERE `post_msg_id` = '. $row['post_id'] .'
WHERE post_msg_id = '. $row['post_id'] .'
AND in_message = 0
ORDER BY filetime DESC';