This commit is contained in:
parent
fa3b3e20fc
commit
eb50f9f41c
@ -170,7 +170,7 @@ class Model {
|
|||||||
$this->data[$key] = NULL;
|
$this->data[$key] = NULL;
|
||||||
|
|
||||||
if($key=='active')
|
if($key=='active')
|
||||||
var_dump("$key is set to '".$data[$key]."'");
|
var_dump("before: $key is set to '".$data[$key]."'");
|
||||||
|
|
||||||
if (isset($data[$key]))
|
if (isset($data[$key]))
|
||||||
$value = $data[$key];
|
$value = $data[$key];
|
||||||
@ -247,6 +247,8 @@ class Model {
|
|||||||
throw new Exception("$type validation failed");
|
throw new Exception("$type validation failed");
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
if($key=='active')
|
||||||
|
var_dump("after: $key is set to '".$data[$key]."'");
|
||||||
return true;
|
return true;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user