diff --git a/web/inc/classes/Model.class.php b/web/inc/classes/Model.class.php index b435223..8f4a711 100644 --- a/web/inc/classes/Model.class.php +++ b/web/inc/classes/Model.class.php @@ -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']) { diff --git a/web/pages/profile/controller.php b/web/pages/profile/controller.php index 5e7ba46..c8ea630 100644 --- a/web/pages/profile/controller.php +++ b/web/pages/profile/controller.php @@ -10,7 +10,6 @@ class Profile extends Page { function edit() { - var_dump($_SESSION['user']->active); if($_REQUEST['submit']=='true') { $error = false;