mirror of
https://github.com/EGroupware/egroupware.git
synced 2024-11-27 18:33:39 +01:00
fix fatal error deleting accounts via LDAP/AD import
This commit is contained in:
parent
12ed21bf77
commit
b45a7e35aa
@ -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