rabin 5 năm trước cách đây
mục cha
commit
a4b9b2fd82
1 tập tin đã thay đổi với 1 bổ sung1 xóa
  1. 1 1
      service/src/Buy.php

+ 1 - 1
service/src/Buy.php

@@ -9,7 +9,7 @@ class Buy extends Base
     {
     	parent::__construct();
 
-    	if (!$this->user || ($this->user && $this->user < 0)) {
+    	if (!$this->user || ($this->user && $this->user['id'] < 0)) {
     		return $this->location('home');
     	}