Bug fixes for l10 and login
This commit is contained in:
@@ -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))
|
||||
{
|
||||
|
||||
@@ -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)
|
||||
|
||||
Reference in New Issue
Block a user