Skip to content

Commit

Permalink
fixed array index issue
Browse files Browse the repository at this point in the history
  • Loading branch information
koertho committed Sep 19, 2022
1 parent 8f343d6 commit 7eb3e07
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/Dca/DcaUtil.php
Original file line number Diff line number Diff line change
Expand Up @@ -478,7 +478,7 @@ public function getFields(string $table, array $options = []): array
// restrict to certain dca eval
if (isset($options['evalConditions']) && \is_array($options['evalConditions']) && !empty($options['evalConditions'])) {
foreach ($options['evalConditions'] as $key => $value) {
if ($data['eval'][$key] !== $value) {
if (!isset($data['eval'][$key]) || $data['eval'][$key] !== $value) {
continue 2;
}
}
Expand Down

0 comments on commit 7eb3e07

Please sign in to comment.