Skip to content

Commit

Permalink
Merge branch 'master' into vtk-master
Browse files Browse the repository at this point in the history
  • Loading branch information
Tiddo committed Oct 29, 2024
2 parents 9b573fc + 2fe11e1 commit 3aba2cc
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion module/ShopBundle/Controller/ShopController.php
Original file line number Diff line number Diff line change
Expand Up @@ -323,7 +323,7 @@ public function getActiveBanEnd()
return null;
}

return $activeBans[-1]->getEndTimestamp();
return end($activeBans)->getEndTimestamp();
}

/**
Expand Down

0 comments on commit 3aba2cc

Please sign in to comment.