mirror of
https://github.com/EGroupware/egroupware.git
synced 2025-01-18 20:08:34 +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 (!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
|
// changed the original OR in the query into a union, to speed up the query execution under MySQL 5
|
||||||
$select = array(
|
$select = array(
|
||||||
|
Loading…
Reference in New Issue
Block a user