also allow column names with prefix when deleting

This commit is contained in:
ralf 2022-12-01 13:10:51 +01:00
parent 390fbf3608
commit d6d77546a5

View File

@ -777,7 +777,7 @@ class Base
$data = $keys; $keys = array();
foreach($this->db_cols as $db_col => $col)
{
if (isset($data[$col]))
if (isset($data[$col]) || isset($data[$db_col]))
{
$keys[$db_col] = $col;
}