mirror of
https://github.com/EGroupware/egroupware.git
synced 2024-12-27 09:09:04 +01:00
fix fatal error deleting accounts via LDAP/AD import
This commit is contained in:
parent
f6d9918224
commit
5df34bce91
@ -1106,6 +1106,10 @@ class Translation
|
||||
*/
|
||||
static function get_message_id($translation,$app=null,$lang=null)
|
||||
{
|
||||
if (!isset(self::$db))
|
||||
{
|
||||
self::init();
|
||||
}
|
||||
$where = array('content '.self::$db->capabilities[Db::CAPABILITY_CASE_INSENSITIV_LIKE].' '.self::$db->quote($translation));
|
||||
if ($app) $where['app_name'] = $app;
|
||||
if ($lang) $where['lang'] = $lang;
|
||||
|
Loading…
Reference in New Issue
Block a user