Skip to content

Commit

Permalink
Default Language
Browse files Browse the repository at this point in the history
  • Loading branch information
gburton committed Dec 22, 2020
1 parent ea152f8 commit e9b15c9
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion admin/languages.php
Expand Up @@ -64,7 +64,7 @@
case 'deleteconfirm':
$lID = tep_db_prepare_input($_GET['lID']);

$lng_query = tep_db_query("SELECT languages_id FROM languages WHERE code = '" . DEFAULT_CURRENCY . "'");
$lng_query = tep_db_query("SELECT languages_id FROM languages WHERE code = '" . DEFAULT_LANGUAGE . "'");
$lng = tep_db_fetch_array($lng_query);
if ($lng['languages_id'] == $lID) {
$remove_language = false;
Expand Down

0 comments on commit e9b15c9

Please sign in to comment.