diff --git a/api/src/Storage/Base.php b/api/src/Storage/Base.php index 60da4cf54e..812251f162 100644 --- a/api/src/Storage/Base.php +++ b/api/src/Storage/Base.php @@ -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; }