fixed typo which caused no union queries used by calendar under MySQL5 again

This commit is contained in:
Ralf Becker 2006-04-25 16:00:51 +00:00
parent e06b228b1b
commit 37e858c7b3

View File

@ -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(