Skip to content

Commit

Permalink
REF: hootlex#38
Browse files Browse the repository at this point in the history
  • Loading branch information
RedBlueBulb committed May 30, 2021
1 parent 483df70 commit 6074ba6
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 6074ba6

Please sign in to comment.