From 3e26658a387abf65223724e5b5a7f7951b5e3893 Mon Sep 17 00:00:00 2001 From: Chris Date: Mon, 30 Oct 2023 23:40:36 +0100 Subject: [PATCH] yes --- web/inc/classes/Model.class.php | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/web/inc/classes/Model.class.php b/web/inc/classes/Model.class.php index f49b0ae..78865ac 100644 --- a/web/inc/classes/Model.class.php +++ b/web/inc/classes/Model.class.php @@ -168,7 +168,8 @@ class Model { if(in_array('autoupdate',$options)) $this->data[$key] = NULL; - var_dump("$key is set to ".$this->data[$key]); + if($key=='active') + var_dump("$key is set to '".$this->data[$key]."'"); if (isset($data[$key])) $value = $data[$key];