You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Main problem is that PostgreSQL unlike others do not accept boolean as 1 or 0 - only as true or false.
I managed to make this work changing code to: ticketfunc.php:122 $sql .= ", " . (!isset($params["pass_send"])? 'false': to_boolean($params["pass_send"]));
I wonder how this ever worked, honestly. To my dismay, given how (fake) booleans interact with mysql and sqlite, I'll actually change the column type in postgres to a smallint to gain uniform behavior.
Reported by Dima Veselov:
Main problem is that PostgreSQL unlike others do not accept boolean as 1 or 0 - only as true or false.
I managed to make this work changing code to: ticketfunc.php:122
$sql .= ", " . (!isset($params["pass_send"])? 'false': to_boolean($params["pass_send"]));
func.php:
Sorry, can't check if this break other database logic. Also,
dbupgrade.php should be remastered, I executed it manually.
The text was updated successfully, but these errors were encountered: