@ -574,8 +574,13 @@ class rcube_mdb2
*/
function fromunixtime($timestamp)
{
switch ($this->db_provider) {
case 'mysql':
return 'FROM_UNIXTIME(' . intval($timestamp) . ')';
default:
return date("'Y-m-d H:i:s'", $timestamp);
}
/**