diff --git a/src/ModerationScope.php b/src/ModerationScope.php index 6bd0f74..05b45f8 100644 --- a/src/ModerationScope.php +++ b/src/ModerationScope.php @@ -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; } }