Skip to content
Snippets Groups Projects
Commit 83180c1e authored by Matthieu Guffroy's avatar Matthieu Guffroy
Browse files

debug

parent 9e88f30d
No related branches found
No related tags found
No related merge requests found
......@@ -54,7 +54,7 @@ class Objet
foreach(array_keys(get_object_vars($this)) as $keyName) {
if($keyName[0] == "_") { continue; }
if($keyName == $this->_primaryAttr) { $ret[] = new Field($keyName, $this->$keyName, true); continue; }
if(in_array($keyName, $this->_specialFields)) {
if(in_array($keyName, array_keys($this->_specialFields))) {
$ret[] = new $this->_specialFields[$keyName]["t"]($keyName, $this->$keyName);
} else {
$ret[] = new Field($keyName, $this->$keyName);
......
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