"fixed Bug #1663 'More News' not visible in sitemgr when limit is 1, -> so_sql, is now giving back the numbers of total"

This commit is contained in:
Stefan Becker 2008-10-07 08:17:09 +00:00
parent f1641b22fc
commit 858485ad30

View File

@ -812,7 +812,7 @@ class so_sql
return true; // waiting for further calls, before running the union-query
}
// running the union query now
if ($start !== false && $num_rows != 1) // need to get the total too, saved in $this->total
if ($start !== false) // need to get the total too, saved in $this->total
{
if ($this->db->Type == 'mysql' && $this->db->ServerInfo['version'] >= 4.0)
{
@ -830,7 +830,7 @@ class so_sql
}
else // no UNION
{
if ($start !== false && $num_rows != 1) // need to get the total too, saved in $this->total
if ($start !== false) // need to get the total too, saved in $this->total
{
if ($this->db->Type == 'mysql' && $this->db->ServerInfo['version'] >= 4.0)
{