diff --git a/web/inc/classes/Model.class.php b/web/inc/classes/Model.class.php index 088595d..ee70a51 100644 --- a/web/inc/classes/Model.class.php +++ b/web/inc/classes/Model.class.php @@ -170,7 +170,7 @@ class Model { $this->data[$key] = NULL; if($key=='active') - var_dump("$key is set to '".$data[$key]."'"); + var_dump("before: $key is set to '".$data[$key]."'"); if (isset($data[$key])) $value = $data[$key]; @@ -247,6 +247,8 @@ class Model { throw new Exception("$type validation failed"); } } + if($key=='active') + var_dump("after: $key is set to '".$data[$key]."'"); return true; }