mirror of
https://github.com/HDInnovations/UNIT3D-Community-Edition.git
synced 2026-05-03 08:50:22 -05:00
update: bonus controller
- Simplify Bool Identical True
This commit is contained in:
@@ -210,7 +210,7 @@ class BonusController extends Controller
|
||||
if ($userbon >= $itemCost) {
|
||||
$flag = $this->doItemExchange($user->id, $id);
|
||||
|
||||
if ($flag === false) {
|
||||
if (!$flag) {
|
||||
return \redirect()->route('bonus_store')
|
||||
->withErrors('Bonus Exchange Failed!');
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user