Vergleich moderation.php - 1.4.1 - 1.4.3

  Keine Änderungen   Hinzugefügt   Modifiziert   Entfernt
Zeile 6Zeile 6
 * Website: http://www.mybboard.net
* License: http://www.mybboard.net/about/license
*

 * Website: http://www.mybboard.net
* License: http://www.mybboard.net/about/license
*

 * $Id: moderation.php 4083 2008-08-08 02:09:05Z Tikitiki $

 * $Id: moderation.php 4176 2008-09-03 13:50:09Z Tikitiki $

 */

define("IN_MYBB", 1);

 */

define("IN_MYBB", 1);

Zeile 193Zeile 193
				error_no_permission();
}
}

				error_no_permission();
}
}

		
$thread['subject'] = htmlspecialchars_uni($thread['subject']);

 

$plugins->run_hooks("moderation_deletethread");



$plugins->run_hooks("moderation_deletethread");


Zeile 1464Zeile 1462
		{
error_no_permission();
}

		{
error_no_permission();
}

		array_walk($posts, 'intval');

		$posts = array_map('intval', $posts);

		$pidin = implode(',', $posts);

// Make sure that we are not splitting a thread with one post

		$pidin = implode(',', $posts);

// Make sure that we are not splitting a thread with one post

Zeile 1838Zeile 1836
		$posts = array($posts);
}
// Validate input

		$posts = array($posts);
}
// Validate input

	array_walk($posts, 'intval');

	$posts = array_map('intval', $posts);

	$posts[] = 0;
// Get forums
$posts_string = implode(',', $posts);

	$posts[] = 0;
// Get forums
$posts_string = implode(',', $posts);

Zeile 1882Zeile 1880
		$threads = array($threads);
}
// Validate input

		$threads = array($threads);
}
// Validate input

	array_walk($threads, 'intval');

	$threads = array_map('intval', $threads);

	$threads[] = 0;
// Get forums
$threads_string = implode(',', $threads);

	$threads[] = 0;
// Get forums
$threads_string = implode(',', $threads);