Skip to content
Snippets Groups Projects
Commit 54fe18bf authored by totten's avatar totten
Browse files

Cleanup

parent 23c41970
No related branches found
No related tags found
No related merge requests found
......@@ -336,14 +336,10 @@ AND entity_id IS NULL
$keyValues = array();
foreach ($dbFields as $name => $dontCare) {
// ignore all ids
if ($name == 'id' ||
substr($name, -3, 3) == '_id'
) {
if ($name == 'id' || substr($name, -3, 3) == '_id') {
continue;
}
if (isset($object->$name) &&
$object->$name !== NULL
) {
if (isset($object->$name) && $object->$name !== NULL) {
// hack for extends_entity_column_value
if ($name == 'extends_entity_column_value') {
if ($object->extends == 'Event' ||
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment