Zeile 20 | Zeile 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 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");
|