Skip to content

Commit

Permalink
🔥 FIX: ExpireGag getting
Browse files Browse the repository at this point in the history
  • Loading branch information
wopox1337 committed Mar 11, 2021
1 parent 47b9acb commit 72cbbc0
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion protected/models/Gaglist.php
Original file line number Diff line number Diff line change
Expand Up @@ -120,7 +120,7 @@ public function getGagType() {
return $str;
}

public function getGagTimeleft($expireAt) {
public function getGagTimeleft() {
$secondsLeft = strtotime($this->expire_at) - strtotime($this->created_at);
if($secondsLeft > 0) {
return Prefs::date2word($secondsLeft / 60);
Expand Down

0 comments on commit 72cbbc0

Please sign in to comment.