heavy debug mode
All checks were successful
Build and push / Pulling repo on server (push) Successful in 3s

This commit is contained in:
2023-10-30 22:57:31 +01:00
parent a604d2b97d
commit 8f4675ba93
2 changed files with 2 additions and 1 deletions

View File

@ -126,6 +126,8 @@ class Model {
{
$value = $GLOBALS['redis']->hget($this->dbTable.':'.$this->id,$key);
var_dump("[".$this->dbTable.':'.$this->id."] Loading from DB $key: '$value'");
if($value!==NULL) //we'll leave null values alone
switch($this->dbFields[$key]['type'])
{