mirror of
https://github.com/EGroupware/egroupware.git
synced 2025-08-05 23:05:59 +02:00
Fix for cast from Anthony Messina
This commit is contained in:
@ -423,7 +423,7 @@ class calendar_so
|
|||||||
// For deleted history
|
// For deleted history
|
||||||
$history_id = $this->cal_table.'.cal_id';
|
$history_id = $this->cal_table.'.cal_id';
|
||||||
// Postgres needs a cast
|
// Postgres needs a cast
|
||||||
if($this->db->Type == 'postgres') {
|
if($this->db->Type == 'pgsql') {
|
||||||
$history_id = "CAST($history_id AS VARCHAR)";
|
$history_id = "CAST($history_id AS VARCHAR)";
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user