Vergleich admin/modules/config/mycode.php - 1.8.27 - 1.8.37

  Keine Änderungen   Hinzugefügt   Modifiziert   Entfernt
Zeile 20Zeile 20

if($mybb->input['action'] == "toggle_status")
{


if($mybb->input['action'] == "toggle_status")
{

	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=config-mycode");

	{
flash_message($lang->invalid_post_verify_key2, 'error');
admin_redirect("index.php?module=config-mycode");

Zeile 29Zeile 29
	$query = $db->simple_select("mycode", "*", "cid='".$mybb->get_input('cid', MyBB::INPUT_INT)."'");
$mycode = $db->fetch_array($query);


	$query = $db->simple_select("mycode", "*", "cid='".$mybb->get_input('cid', MyBB::INPUT_INT)."'");
$mycode = $db->fetch_array($query);


	if(!$mycode['cid'])

	if(!$mycode)

	{
flash_message($lang->error_invalid_mycode, 'error');
admin_redirect("index.php?module=config-mycode");

	{
flash_message($lang->error_invalid_mycode, 'error');
admin_redirect("index.php?module=config-mycode");

Zeile 217Zeile 217
	$query = $db->simple_select("mycode", "*", "cid='".$mybb->get_input('cid', MyBB::INPUT_INT)."'");
$mycode = $db->fetch_array($query);


	$query = $db->simple_select("mycode", "*", "cid='".$mybb->get_input('cid', MyBB::INPUT_INT)."'");
$mycode = $db->fetch_array($query);


	if(!$mycode['cid'])

	if(!$mycode)

	{
flash_message($lang->error_invalid_mycode, 'error');
admin_redirect("index.php?module=config-mycode");

	{
flash_message($lang->error_invalid_mycode, 'error');
admin_redirect("index.php?module=config-mycode");

Zeile 353Zeile 353
	$query = $db->simple_select("mycode", "*", "cid='".$mybb->get_input('cid', MyBB::INPUT_INT)."'");
$mycode = $db->fetch_array($query);


	$query = $db->simple_select("mycode", "*", "cid='".$mybb->get_input('cid', MyBB::INPUT_INT)."'");
$mycode = $db->fetch_array($query);


	if(!$mycode['cid'])

	if(!$mycode)

	{
flash_message($lang->error_invalid_mycode, 'error');
admin_redirect("index.php?module=config-mycode");

	{
flash_message($lang->error_invalid_mycode, 'error');
admin_redirect("index.php?module=config-mycode");