We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent e0ef0d3 commit 3ff1c33Copy full SHA for 3ff1c33
1 file changed
inc/formanswer.class.php
@@ -1290,6 +1290,7 @@ public function post_addItem() {
1290
1291
// Auto approve if the current user is a level 1 validator
1292
$current_user = Session::getLoginUserID();
1293
+ $auto_approval = false;
1294
if (($this->input['users_id_validator'] ?? 0) != 0) {
1295
$auto_approval = ($current_user == $this->input['users_id_validator']);
1296
} else if (($this->input['groups_id_validator'] ?? 0) != 0) {
0 commit comments