Bug fixes for l10 and login

This commit is contained in:
Clemens Schwaighofer
2016-12-01 16:54:51 +09:00
parent 86535c23f1
commit f4f84bdd67
2 changed files with 2 additions and 2 deletions

View File

@@ -405,7 +405,7 @@
while ($res = $this->db_return($q))
{
// read edit access data fields and drop them into the unit access array
$q_sub ="SELECT name, value FROM edit_access_data WHERE enabled = 1 edit_access_id = ".$res['edit_access_id'];
$q_sub ="SELECT name, value FROM edit_access_data WHERE enabled = 1 AND edit_access_id = ".$res['edit_access_id'];
$ea_data = array ();
while ($res_sub = $this->db_return($q_sub))
{

View File

@@ -37,7 +37,7 @@
public function __construct($lang = '', $path = '')
{
foreach (array('streas.php', 'gettext.php') as $include_file)
foreach (array('streams.php', 'gettext.php') as $include_file)
_spl_autoload($include_file);
if (!$lang)