Skip to content

Commit 4eb2ffe

Browse files
committed
Security: Initialize the variable to avoid a wrong result by old value
See GHSA-qv5j-rq2p-q5w5
1 parent c3afce0 commit 4eb2ffe

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

main/inc/ajax/model.ajax.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -217,7 +217,7 @@ function getWhereClause($col, $oper, $val)
217217
}
218218
}
219219

220-
$result = []; $extraField->getExtraFieldRules($filters, 'extra_');
220+
$result = $extraField->getExtraFieldRules($filters, 'extra_');
221221

222222
$extra_fields = $result['extra_fields'];
223223
$condition_array = $result['condition_array'];

0 commit comments

Comments
 (0)