mirror of
https://github.com/EGroupware/egroupware.git
synced 2024-11-26 09:53:20 +01:00
fixes for PHP 5.4 warnings and strict warnings, thought disabled E_STRICT for now, because of various strict warnings in working code, which could not be easy fixed in all areas (see comment in phpgwapi/inc/functions.inc.php)
This commit is contained in:
parent
f676a23821
commit
40c87abcb9
@ -420,7 +420,7 @@ class soetemplate
|
|||||||
{
|
{
|
||||||
$lang = $name['lang'];
|
$lang = $name['lang'];
|
||||||
}
|
}
|
||||||
if ($lang == 'default' || $name['lang'] == 'default')
|
if ($lang == 'default')
|
||||||
{
|
{
|
||||||
$where[] = '(et_lang='.$this->db->quote($pref_lang)." OR et_lang='')";
|
$where[] = '(et_lang='.$this->db->quote($pref_lang)." OR et_lang='')";
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user