mirror of
https://github.com/EGroupware/egroupware.git
synced 2024-11-07 16:44:20 +01:00
fixed typo which caused no union queries used by calendar under MySQL5 again
This commit is contained in:
parent
e06b228b1b
commit
37e858c7b3
@ -328,7 +328,7 @@ class socal
|
||||
|
||||
if (!preg_match('/^[a-z_ ,]+$/i',$order)) $order = 'cal_start'; // gard against SQL injunktion
|
||||
|
||||
if ($this->db->capabilities['distinct_on_text'] && $this->capabilities['union'])
|
||||
if ($this->db->capabilities['distinct_on_text'] && $this->db->capabilities['union'])
|
||||
{
|
||||
// changed the original OR in the query into a union, to speed up the query execution under MySQL 5
|
||||
$select = array(
|
||||
|
Loading…
Reference in New Issue
Block a user