mirror of
https://github.com/EGroupware/egroupware.git
synced 2025-06-25 12:21:26 +02:00
also allow column names with prefix when deleting
This commit is contained in:
parent
390fbf3608
commit
d6d77546a5
@ -777,7 +777,7 @@ class Base
|
|||||||
$data = $keys; $keys = array();
|
$data = $keys; $keys = array();
|
||||||
foreach($this->db_cols as $db_col => $col)
|
foreach($this->db_cols as $db_col => $col)
|
||||||
{
|
{
|
||||||
if (isset($data[$col]))
|
if (isset($data[$col]) || isset($data[$db_col]))
|
||||||
{
|
{
|
||||||
$keys[$db_col] = $col;
|
$keys[$db_col] = $col;
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user