mirror of
https://github.com/EGroupware/egroupware.git
synced 2024-11-08 17:14:36 +01:00
Avoid array key not found warning
This commit is contained in:
parent
b45b3c35df
commit
f6e6b7dc38
@ -550,7 +550,7 @@ class Storage extends Storage\Base
|
||||
$extra_join_added = true;
|
||||
}
|
||||
$extra_columns = $this->db->get_table_definitions($this->app, $this->extra_table);
|
||||
if(is_string($name) && $extra_columns['fd'][array_search($name, $this->db_cols)] ?? null)
|
||||
if(is_string($name) && !empty($extra_columns['fd'][array_search($name, $this->db_cols)]))
|
||||
{
|
||||
$criteria[] = $this->db->expression($this->table_name,$this->table_name.'.',array(
|
||||
array_search($name, $this->db_cols) => $val,
|
||||
|
Loading…
Reference in New Issue
Block a user