echo $util->getFooter();
}
- function handleRequest($request, $ids) {
+ function handleRequest($util, $request, $ids) {
global $CFG;
$query = array();
$request = isset($_GET['op']) ? $_GET['op'] : '';
if ($loggedIn && isset($_GET['id'])) {
$ids = explode(',', $_GET['id']);
- $query = handleRequest($request, $ids);
+ $query = handleRequest($util, $request, $ids);
$success = $DB->update($query);
if (! $success) {
error("Message not released, contact administrator [$query]");