diff options
author | Christian Hofmaier | 2019-01-22 16:13:26 +0100 |
---|---|---|
committer | Christian Hofmaier | 2019-01-22 16:13:26 +0100 |
commit | e4ff8937a3e0da4c23a97014ade75c15ae456931 (patch) | |
tree | a103a1cc935f751096b5ebc5c4a7630b0c946bab /modules-available/locationinfo | |
parent | [inc/Render] new optional argument to change rendered language (diff) | |
download | slx-admin-e4ff8937a3e0da4c23a97014ade75c15ae456931.tar.gz slx-admin-e4ff8937a3e0da4c23a97014ade75c15ae456931.tar.xz slx-admin-e4ff8937a3e0da4c23a97014ade75c15ae456931.zip |
[locationinfo] use set config language for panels
Diffstat (limited to 'modules-available/locationinfo')
-rw-r--r-- | modules-available/locationinfo/page.inc.php | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/modules-available/locationinfo/page.inc.php b/modules-available/locationinfo/page.inc.php index 8ea18940..7be875d0 100644 --- a/modules-available/locationinfo/page.inc.php +++ b/modules-available/locationinfo/page.inc.php @@ -1002,7 +1002,7 @@ class Page_LocationInfo extends Page 'language' => $config['language'], ); - die(Render::parse('frontend-default', $data)); + die(Render::parse('frontend-default', $data, $module = false, $lang = $config['language'])); } if ($type === 'SUMMARY') { @@ -1014,7 +1014,7 @@ class Page_LocationInfo extends Page 'language' => $config['language'], ); - die(Render::parse('frontend-summary', $data)); + die(Render::parse('frontend-summary', $data, $module = false, $lang = $config['language'])); } http_response_code(500); |