Skip to content
Snippets Groups Projects
Commit 265168d4 authored by Tim Steiner's avatar Tim Steiner
Browse files

Always return a date from RequestModel::getLastApprovalTime(). Even when null.

parent 58c82f7b
No related branches found
No related tags found
No related merge requests found
......@@ -933,7 +933,7 @@ class Requests_RequestModel extends Unl_Model
if ($time > 0) {
return new Zend_Date($time);
}
return null;
return new Zend_Date(0);
}
public function getLastApprovalTimestamp()
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment