Skip to content

Commit 44954e9

Browse files
author
vogelor
committed
fixed a bug with translation in domain-module
1 parent ae3a8a0 commit 44954e9

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

interface/web/domain/domain_del.php

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -48,15 +48,15 @@
4848
$app->uses('tpl,tform,tform_actions');
4949
$app->load('tform_actions');
5050

51-
//* load language file
52-
$lng_file = 'lib/lang/'.$_SESSION['s']['language'].'.lng';
53-
include($lng_file);
54-
5551
class page_action extends tform_actions {
5652

5753
function onBeforeDelete() {
5854
global $app; $conf;
5955

56+
//* load language file
57+
$lng_file = 'lib/lang/'.$_SESSION['s']['language'].'.lng';
58+
include($lng_file);
59+
6060
/*
6161
* We can only delete domains if they are NOT in use
6262
*/

0 commit comments

Comments
 (0)