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

  Keine Änderungen   Hinzugefügt   Modifiziert   Entfernt
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");