mirror of
https://github.com/Karaka-Management/phpOMS.git
synced 2026-01-23 23:08:39 +00:00
var name bug fix
This commit is contained in:
parent
df6c8dc48f
commit
d912319d89
|
|
@ -39,6 +39,6 @@ class DateTime
|
|||
*/
|
||||
public static function generateDateTime(\DateTime $start, \DateTime $end) : \DateTime
|
||||
{
|
||||
return new \DateTime(date('Y-m-d H:i:s', mt_rand($startDate->getTimestamp(), $endDate->getTimestamp())));
|
||||
return new \DateTime(date('Y-m-d H:i:s', mt_rand($start->getTimestamp(), $end->getTimestamp())));
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user