@@ -13,7 +13,7 @@ class Core
public function __construct()
{
$this->uid = Dever::load('passport/user')->check(false);
- if (!$this->uid) {
+ if ($this->uid <= 0) {
$this->uid = 1;
}
if ($this->uid) {