fixed db::to_timestamp as the ADOdb function returns quotes too

This commit is contained in:
Ralf Becker 2003-10-21 10:08:48 +00:00
parent c8d9ba1a5f
commit b26fa6246a

View File

@ -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);
}
/**