Skip to content

Commit

Permalink
sort
Browse files Browse the repository at this point in the history
  • Loading branch information
唐文明 authored and 唐文明 committed Oct 30, 2013
1 parent e3403e0 commit 65fa8bf
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/HR/PositionBundle/Model/Position.php
Original file line number Diff line number Diff line change
Expand Up @@ -376,6 +376,6 @@ public function getDeletedAt()
*/
public function getTouchTimestamp()
{
return $this->updatedAt->getTimestamp();
return null !== $this->updatedAt ? $this->updatedAt->getTimestamp() : time();
}
}

0 comments on commit 65fa8bf

Please sign in to comment.