forked from extern/egroupware
Fix for cast from Anthony Messina
This commit is contained in:
parent
83b60b81fc
commit
3a09d2072f
@ -423,7 +423,7 @@ class calendar_so
|
||||
// For deleted history
|
||||
$history_id = $this->cal_table.'.cal_id';
|
||||
// Postgres needs a cast
|
||||
if($this->db->Type == 'postgres') {
|
||||
if($this->db->Type == 'pgsql') {
|
||||
$history_id = "CAST($history_id AS VARCHAR)";
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user