Zeile 254 | Zeile 254 |
---|
$task = $db->fetch_array($query);
// Does the task not exist?
|
$task = $db->fetch_array($query);
// Does the task not exist?
|
if(!$task['tid'])
| if(!$task)
|
{ flash_message($lang->error_invalid_task, 'error'); admin_redirect("index.php?module=tools-tasks");
| { flash_message($lang->error_invalid_task, 'error'); admin_redirect("index.php?module=tools-tasks");
|
Zeile 459 | Zeile 459 |
---|
$task = $db->fetch_array($query);
// Does the task not exist?
|
$task = $db->fetch_array($query);
// Does the task not exist?
|
if(!$task['tid'])
| if(!$task)
|
{ flash_message($lang->error_invalid_task, 'error'); admin_redirect("index.php?module=tools-tasks");
| { flash_message($lang->error_invalid_task, 'error'); admin_redirect("index.php?module=tools-tasks");
|
Zeile 499 | Zeile 499 |
---|
if($mybb->input['action'] == "enable" || $mybb->input['action'] == "disable") {
|
if($mybb->input['action'] == "enable" || $mybb->input['action'] == "disable") {
|
if(!verify_post_check($mybb->input['my_post_key']))
| if(!verify_post_check($mybb->get_input('my_post_key')))
|
{ flash_message($lang->invalid_post_verify_key2, 'error'); admin_redirect("index.php?module=tools-tasks");
| { flash_message($lang->invalid_post_verify_key2, 'error'); admin_redirect("index.php?module=tools-tasks");
|
Zeile 509 | Zeile 509 |
---|
$task = $db->fetch_array($query);
// Does the task not exist?
|
$task = $db->fetch_array($query);
// Does the task not exist?
|
if(!$task['tid'])
| if(!$task)
|
{ flash_message($lang->error_invalid_task, 'error'); admin_redirect("index.php?module=tools-tasks");
| { flash_message($lang->error_invalid_task, 'error'); admin_redirect("index.php?module=tools-tasks");
|
Zeile 588 | Zeile 588 |
---|
if($mybb->input['action'] == "run") {
|
if($mybb->input['action'] == "run") {
|
if(!verify_post_check($mybb->input['my_post_key']))
| if(!verify_post_check($mybb->get_input('my_post_key')))
|
{ flash_message($lang->invalid_post_verify_key2, 'error'); admin_redirect("index.php?module=tools-tasks");
| { flash_message($lang->invalid_post_verify_key2, 'error'); admin_redirect("index.php?module=tools-tasks");
|
Zeile 603 | Zeile 603 |
---|
$task = $db->fetch_array($query);
// Does the task not exist?
|
$task = $db->fetch_array($query);
// Does the task not exist?
|
if(!$task['tid'])
| if(!$task)
|
{ flash_message($lang->error_invalid_task, 'error'); admin_redirect("index.php?module=tools-tasks");
| { flash_message($lang->error_invalid_task, 'error'); admin_redirect("index.php?module=tools-tasks");
|