fix global lng-array
Signed-off-by: Michael Kaufmann (d00p) <d00p@froxlor.org>
This commit is contained in:
@@ -132,7 +132,7 @@ abstract class ApiCommand extends ApiParameter
|
|||||||
*/
|
*/
|
||||||
private function initLang()
|
private function initLang()
|
||||||
{
|
{
|
||||||
$lng = array();
|
global $lng;
|
||||||
|
|
||||||
// query the whole table
|
// query the whole table
|
||||||
$result_stmt = Database::query("SELECT * FROM `" . TABLE_PANEL_LANGUAGE . "`");
|
$result_stmt = Database::query("SELECT * FROM `" . TABLE_PANEL_LANGUAGE . "`");
|
||||||
|
|||||||
Reference in New Issue
Block a user