Function saveTriggers
Saves one or more ban triggers into a ban item: according to the suggestions checks the $_POST variable to verify if the trigger is present
Package: SMF
Copyright: 2020 Simple Machines and individual contributors
License: BSD
Author: Simple Machines https://www.simplemachines.org
Located at Sources/ManageBans.php
Copyright: 2020 Simple Machines and individual contributors
License: BSD
Author: Simple Machines https://www.simplemachines.org
Located at Sources/ManageBans.php
array |
$suggestions |
An array of suggestedtriggers (IP, email, etc.) |
integer |
$ban_group |
The ID of the group we're saving bans for |
integer |
$member = 0 |
The ID of the member associated with this ban (if applicable) |
integer |
$ban_id = 0 |
The ID of the ban (0 if this is a new ban) |
array|boolean
|
An array with the triggers if there were errors or false on success |