Zeile 29 | Zeile 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 217 | Zeile 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 353 | Zeile 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");
|