@@ -270,13 +270,13 @@ |
||
270 | 270 | $domain = $this->domain; |
271 | 271 | $module = $this->module; |
272 | 272 | |
273 | - // Get model model class |
|
274 | - $modelClass = $module->model_class; |
|
273 | + // Get model model class |
|
274 | + $modelClass = $module->model_class; |
|
275 | 275 | |
276 | - // Check if the class exists |
|
277 | - if (!class_exists($modelClass)) { |
|
278 | - return false; |
|
279 | - } |
|
276 | + // Check if the class exists |
|
277 | + if (!class_exists($modelClass)) { |
|
278 | + return false; |
|
279 | + } |
|
280 | 280 | |
281 | 281 | // Filter on domain if column exists |
282 | 282 | if (Schema::hasColumn((new $modelClass)->getTable(), 'domain_id')) { |