Changeset 1729


Ignore:
Timestamp:
12/01/09 18:07:48 (14 years ago)
Author:
rafaelraymundo
Message:

Ticket #803 - Tratado erro constatado no postgres8.3.7 efetuando as devidas conversoes.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/calendar/inc/class.socalendar.inc.php

    r583 r1729  
    9191                                } 
    9292                                $cats = $GLOBALS['phpgw']->categories->return_all_children($this->cat_id); 
    93                                 $extra .= "AND (phpgw_cal.category".(count($cats) > 1 ? ' IN ('.implode(',',$cats).')' : '=\''.(int)$this->cat_id."'"); 
     93                                $extra .= "AND (phpgw_cal.category".(count($cats) > 1 ? " IN ('".implode("','",$cats)."')" : '=\''.(int)$this->cat_id."'"); 
    9494                                foreach($cats as $cat) 
    9595                                { 
Note: See TracChangeset for help on using the changeset viewer.