diff --git a/phpBB/admin/index.php b/phpBB/admin/index.php index 817d088a5f..4939b42a70 100644 --- a/phpBB/admin/index.php +++ b/phpBB/admin/index.php @@ -567,7 +567,7 @@ elseif( isset($HTTP_GET_VARS['pane']) && $HTTP_GET_VARS['pane'] == 'right' ) $errno = 0; $errstr = $version_info = ''; - if ($fsock = @fsockopen('www.phpbb.com', 80, $errno, $errstr)) + if ($fsock = @fsockopen('www.phpbb.com', 80, $errno, $errstr, 10)) { @fputs($fsock, "GET /updatecheck/20x.txt HTTP/1.1\r\n"); @fputs($fsock, "HOST: www.phpbb.com\r\n"); @@ -602,7 +602,7 @@ elseif( isset($HTTP_GET_VARS['pane']) && $HTTP_GET_VARS['pane'] == 'right' ) else { $version_info = '

' . $lang['Version_not_up_to_date']; - $version_info .= '
' . sprintf($lang['Latest_version_info'], $latest_version) . sprintf($lang['Current_version_info'], '2' . $board_config['version']) . '

'; + $version_info .= '
' . sprintf($lang['Latest_version_info'], $latest_version) . ' ' . sprintf($lang['Current_version_info'], '2' . $board_config['version']) . '

'; } } else diff --git a/phpBB/db/mysql.php b/phpBB/db/mysql.php index 054394f05e..adaa2bf657 100644 --- a/phpBB/db/mysql.php +++ b/phpBB/db/mysql.php @@ -259,7 +259,7 @@ class sql_db { if($this->rowset[$query_id]) { - $result = $this->rowset[$query_id][$field]; + $result = $this->rowset[$query_id][0][$field]; } else if($this->row[$query_id]) { diff --git a/phpBB/db/mysql4.php b/phpBB/db/mysql4.php index b0e657e8ee..d00ea7700e 100644 --- a/phpBB/db/mysql4.php +++ b/phpBB/db/mysql4.php @@ -271,7 +271,7 @@ class sql_db { if( $this->rowset[$query_id] ) { - $result = $this->rowset[$query_id][$field]; + $result = $this->rowset[$query_id][0][$field]; } else if( $this->row[$query_id] ) { diff --git a/phpBB/docs/CHANGELOG.html b/phpBB/docs/CHANGELOG.html index fd560eaa96..a6d014ef20 100644 --- a/phpBB/docs/CHANGELOG.html +++ b/phpBB/docs/CHANGELOG.html @@ -67,9 +67,11 @@ p,ul,td {font-size:10pt;}