From 0126cea6b1afc5905fc712b38e6c5d745af6bb03 Mon Sep 17 00:00:00 2001 From: Chris Date: Mon, 30 Oct 2023 23:43:49 +0100 Subject: [PATCH] back to int --- web/models/User.model.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/web/models/User.model.php b/web/models/User.model.php index 68ac931..39fc9e0 100644 --- a/web/models/User.model.php +++ b/web/models/User.model.php @@ -17,7 +17,7 @@ class User extends Model { 'dogs' => ['type'=> 'array','default'=>[]], 'tournaments' => ['type'=> 'array','default'=>[]], 'photo' => ['type'=>'text','default'=>'https://pictshare.net/pj7vzx.jpg'], - 'active' => ['type'=>'bool','default'=>0] + 'active' => ['type'=>'int','default'=>0] ); protected $hidden = ['password','token'];