mirror of
https://github.com/EGroupware/egroupware.git
synced 2024-12-22 23:00:56 +01:00
fixed for mysql < 4.1 for the quoting of boolean columns (0/1, instead of standard true/false)
This commit is contained in:
parent
549f63db9e
commit
597e4b8589
@ -1085,6 +1085,10 @@
|
||||
case 'auto':
|
||||
return (int) $value;
|
||||
case 'bool':
|
||||
if ($this->Type == 'mysql' && $this->ServerInfo['version'] < 4.1)
|
||||
{
|
||||
return $value ? 1 : 0;
|
||||
}
|
||||
return $value ? 'true' : 'false';
|
||||
}
|
||||
if (!$this->Link_ID && !$this->connect())
|
||||
|
Loading…
Reference in New Issue
Block a user