Vergleich admin/modules/tools/tasks.php - 1.8.27 - 1.8.38

  Keine Änderungen   Hinzugefügt   Modifiziert   Entfernt
Zeile 254Zeile 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 459Zeile 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 499Zeile 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 509Zeile 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 588Zeile 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 603Zeile 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");