mirror of
https://gitlab.com/davical-project/davical.git
synced 2026-08-24 17:36:39 +00:00
Try to fix PostgreSQL 9.x cast issue.
This commit is contained in:
parent
ec2c7084a8
commit
c747319ab0
@ -513,7 +513,7 @@ class Principal {
|
||||
if ( !isset($field_values->{$k}) && !isset($this->{$k}) ) continue;
|
||||
if ( $inserting ) {
|
||||
$insert_fields[] = $k;
|
||||
$param_names[] = ':'.$k;
|
||||
$param_names[] = ':'.$k . ($k == 'default_privileges' ? '::BIT(24)' : '');
|
||||
}
|
||||
else {
|
||||
$update_list[] = $k.'=:'.$k;
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user