mirror of
https://github.com/EGroupware/egroupware.git
synced 2024-11-26 01:43:47 +01:00
"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:
parent
f1641b22fc
commit
858485ad30
@ -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)
|
||||
{
|
||||
|
Loading…
Reference in New Issue
Block a user