Skip to content

Commit

Permalink
REF: hootlex#38
Browse files Browse the repository at this point in the history
  • Loading branch information
RedBlueBulb committed Jun 9, 2021
1 parent 483df70 commit 7e4175b
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion src/ModerationScope.php
Original file line number Diff line number Diff line change
Expand Up @@ -400,6 +400,10 @@ private function updateModerationStatus(Builder $builder, $id, $status)
*/
protected function isModerationConstraint(array $where, $column)
{
return $where['column'] == $column;
if(isset($where['column'])){
return $where['column'] == $column;
}

return false;
}
}

0 comments on commit 7e4175b

Please sign in to comment.