Fixes to emailing cancel requests. Changes to email jobs with no site_id
This commit is contained in:
@@ -17,6 +17,7 @@ class SiteScope implements Scope
|
||||
*/
|
||||
public function apply(Builder $builder, Model $model)
|
||||
{
|
||||
// @todo Need to only do this, if the original query doesnt already have a where condition with a site_id
|
||||
$builder->where($model->getTable().'.site_id',config('site')->site_id);
|
||||
}
|
||||
}
|
Reference in New Issue
Block a user