rabin 5 vuotta sitten
vanhempi
commit
a4b9b2fd82
1 muutettua tiedostoa jossa 1 lisäystä ja 1 poistoa
  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');
     	}