Skip to content

Commit

Permalink
fix time bug
Browse files Browse the repository at this point in the history
  • Loading branch information
forecho committed Mar 25, 2016
1 parent bb9efc8 commit f5f63b4
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion MeritBehavior.php
Original file line number Diff line number Diff line change
Expand Up @@ -141,7 +141,7 @@ public function update(MeritTemplate $meritTemplate)
'description' => $description,
'action_type' => $meritTemplate->action_type,
'increment' => $meritTemplate->increment,
'created_at' => $meritTemplate->created_at,
'created_at' => time(),
]);
if (!$meritLog->save()) {
throw new Exception(array_values($meritLog->getFirstErrors())[0]);
Expand Down

0 comments on commit f5f63b4

Please sign in to comment.