Quellcode durchsuchen

Show all custom-items to all pros (and not only to creator)

Vijayakrishnan vor 4 Jahren
Ursprung
Commit
f259232e79
1 geänderte Dateien mit 1 neuen und 1 gelöschten Zeilen
  1. 1 1
      app/Models/Pro.php

+ 1 - 1
app/Models/Pro.php

@@ -90,6 +90,6 @@ class Pro extends Model
     }
 
     public function canvasCustomItems($_key) {
-        return ClientCanvasDataCustomItem::where('key', $_key)->where('pro_id', $this->id)->get();
+        return ClientCanvasDataCustomItem::where('key', $_key)->get();
     }
 }