Skip to content

Commit f66176f

Browse files
authored
Make sure the status is always 0 (#34251)
1 parent 82321be commit f66176f

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

administrator/components/com_privacy/models/request.php

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -427,6 +427,9 @@ public function validate($form, $data, $group = null)
427427
return false;
428428
}
429429

430+
// Make sure the status is always 0
431+
$validatedData['status'] = 0;
432+
430433
// The user cannot create a request for their own account
431434
if (strtolower(JFactory::getUser()->email) === strtolower($validatedData['email']))
432435
{

0 commit comments

Comments
 (0)