also allow column names with prefix when deleting

This commit is contained in:
ralf 2022-12-01 13:10:51 +01:00
parent 1fad8bf766
commit f3cf760d4f

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;
}