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

This commit is contained in:
Chris 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); $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 if($value!==NULL) //we'll leave null values alone
switch($this->dbFields[$key]['type']) switch($this->dbFields[$key]['type'])
{ {

View File

@ -10,7 +10,6 @@ class Profile extends Page {
function edit() function edit()
{ {
var_dump($_SESSION['user']->active);
if($_REQUEST['submit']=='true') if($_REQUEST['submit']=='true')
{ {
$error = false; $error = false;