mirror of
https://github.com/EGroupware/egroupware.git
synced 2024-12-26 16:48:49 +01:00
fixed db::to_timestamp as the ADOdb function returns quotes too
This commit is contained in:
parent
c8d9ba1a5f
commit
b26fa6246a
@ -232,7 +232,8 @@
|
||||
*/
|
||||
function to_timestamp($epoch)
|
||||
{
|
||||
return $this->Link_ID->DBTimeStamp($epoch);
|
||||
// the substring is needed as the string is already in quotes
|
||||
return substr($this->Link_ID->DBTimeStamp($epoch),1,-1);
|
||||
}
|
||||
|
||||
/**
|
||||
|
Loading…
Reference in New Issue
Block a user