mirror of
https://github.com/phpbb/phpbb.git
synced 2025-08-06 16:56:44 +02:00
- tackle some usability issues
- fix bug #3147 - added the lock-images made by SHS` - fixed MSSQL errors (adding the correct ESCAPE sequence) git-svn-id: file:///svn/phpbb/trunk@6161 89ea8834-ac86-4346-8a33-228a782c2dd0
This commit is contained in:
@@ -412,7 +412,7 @@ if (!function_exists('realpath'))
|
||||
|
||||
$translated_path = '';
|
||||
|
||||
foreach($dirs as $key => $value)
|
||||
foreach ($dirs as $key => $value)
|
||||
{
|
||||
if (strlen($value) > 0)
|
||||
{
|
||||
@@ -2491,6 +2491,12 @@ function page_header($page_title = '', $display_online_list = true)
|
||||
|
||||
// Do not change this (it is defined as _f_={forum_id}x within session.php)
|
||||
$reading_sql = " AND s.session_page LIKE '%\_f\_={$f}x%'";
|
||||
|
||||
// Specify escape character for MSSQL
|
||||
if (SQL_LAYER == 'mssql' || SQL_LAYER == 'mssql_odbc')
|
||||
{
|
||||
$reading_sql .= " ESCAPE '\\'";
|
||||
}
|
||||
}
|
||||
|
||||
// Get number of online guests
|
||||
|
Reference in New Issue
Block a user