Skip to content

Commit

Permalink
Merge pull request #13839 from opencartbot/patch-19
Browse files Browse the repository at this point in the history
Fix admin language switching
  • Loading branch information
danielkerr committed Apr 3, 2024
2 parents b9e62a0 + 6c5b6a2 commit c2b6fb5
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion upload/admin/controller/startup/language.php
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,7 @@ public function index(): void {

// Set the config language_id key
$this->config->set('config_language_id', $language_info['language_id']);
$this->config->set('config_language', $language_info['code']);
$this->config->set('config_language_admin', $language_info['code']);

$this->load->language('default');
}
Expand Down

0 comments on commit c2b6fb5

Please sign in to comment.