Skip to content
Snippets Groups Projects
Commit 19767973 authored by Cyril Vazquez's avatar Cyril Vazquez
Browse files

No commit message

No commit message
parent 9aa78077
No related branches found
No related tags found
No related merge requests found
......@@ -184,7 +184,9 @@ abstract class ObjectControler
$result = array();
foreach ($object->getArray() as $key => $value) {
if (!in_array($key,$computed_properties)) {
if (substr_compare($key, '_id', -3) == 0
if($key == self::$specific_id) {
// do not update key
} elseif (substr_compare($key, '_id', -3) == 0
|| substr_compare($key, '_number', -7) == 0) {
if (in_array($key, self::$foolish_ids)) {
$result[] = $key . "='" . $value . "'";
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment