Skip to content

Commit

Permalink
Use else if instead. Fix spacing
Browse files Browse the repository at this point in the history
  • Loading branch information
Skouat committed Oct 20, 2024
1 parent 5812a0d commit 0f0ca4d
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions acp/ppde_module.php
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,8 @@ public function __construct()
'overview' => ['lang_key_prefix' => 'PPDE'],
'paypal_features' => ['lang_key_prefix' => 'PPDE_PAYPAL_FEATURES'],
'settings' => ['lang_key_prefix' => 'PPDE_SETTINGS'],
'transactions' => ['lang_key_prefix' => 'PPDE_DT', 'id_prefix_name' => 'transaction'],];
'transactions' => ['lang_key_prefix' => 'PPDE_DT', 'id_prefix_name' => 'transaction'],
];
}

/**
Expand Down Expand Up @@ -64,7 +65,7 @@ public function main($id, $mode)
{
$this->handle_item_actions($controller, $request);
}
elseif ($mode === 'overview')
else if ($mode === 'overview')
{
$action = $request->variable('action', '');
/** @type \skouat\ppde\controller\admin\overview_controller $controller */
Expand Down

0 comments on commit 0f0ca4d

Please sign in to comment.