|
From: Paul S. O. <ps...@us...> - 2002-02-19 13:27:29
|
Update of /cvsroot/phpbb/phpBB2/admin
In directory usw-pr-cvs1:/tmp/cvs-serv32582/admin
Modified Files:
index.php
Log Message:
Fix bug #519756 as suggested by tamc
Index: index.php
===================================================================
RCS file: /cvsroot/phpbb/phpBB2/admin/index.php,v
retrieving revision 1.36
retrieving revision 1.37
diff -C2 -r1.36 -r1.37
*** index.php 13 Feb 2002 00:03:18 -0000 1.36
--- index.php 19 Feb 2002 13:27:25 -0000 1.37
***************
*** 272,276 ****
else if( preg_match("/^mssql/", SQL_LAYER) )
{
! $sql = "SELECT ((SUM(size) * 8) * 1024) as dbsize
FROM sysfiles";
if( $result = $db->sql_query($sql) )
--- 272,276 ----
else if( preg_match("/^mssql/", SQL_LAYER) )
{
! $sql = "SELECT ((SUM(size) * 8.0) * 1024.0) as dbsize
FROM sysfiles";
if( $result = $db->sql_query($sql) )
|