Zeile 52 | Zeile 52 |
---|
$query = $db->simple_select("promotions", "*", "pid='".$mybb->get_input('pid', MyBB::INPUT_INT)."'"); $promotion = $db->fetch_array($query);
|
$query = $db->simple_select("promotions", "*", "pid='".$mybb->get_input('pid', MyBB::INPUT_INT)."'"); $promotion = $db->fetch_array($query);
|
if(!$promotion['pid'])
| if(!$promotion)
|
{ flash_message($lang->error_invalid_promo_id, 'error'); admin_redirect("index.php?module=user-group_promotions");
| { flash_message($lang->error_invalid_promo_id, 'error'); admin_redirect("index.php?module=user-group_promotions");
|
Zeile 98 | Zeile 98 |
---|
$query = $db->simple_select("promotions", "*", "pid='".$mybb->get_input('pid', MyBB::INPUT_INT)."'"); $promotion = $db->fetch_array($query);
|
$query = $db->simple_select("promotions", "*", "pid='".$mybb->get_input('pid', MyBB::INPUT_INT)."'"); $promotion = $db->fetch_array($query);
|
if(!$promotion['pid'])
| if(!$promotion)
|
{ flash_message($lang->error_invalid_promo_id, 'error'); admin_redirect("index.php?module=user-group_promotions");
| { flash_message($lang->error_invalid_promo_id, 'error'); admin_redirect("index.php?module=user-group_promotions");
|
Zeile 126 | Zeile 126 |
---|
if($mybb->input['action'] == "enable") {
|
if($mybb->input['action'] == "enable") {
|
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=user-group_promotions");
| { flash_message($lang->invalid_post_verify_key2, 'error'); admin_redirect("index.php?module=user-group_promotions");
|
Zeile 141 | Zeile 141 |
---|
$query = $db->simple_select("promotions", "*", "pid='".$mybb->get_input('pid', MyBB::INPUT_INT)."'"); $promotion = $db->fetch_array($query);
|
$query = $db->simple_select("promotions", "*", "pid='".$mybb->get_input('pid', MyBB::INPUT_INT)."'"); $promotion = $db->fetch_array($query);
|
if(!$promotion['pid'])
| if(!$promotion)
|
{ flash_message($lang->error_invalid_promo_id, 'error'); admin_redirect("index.php?module=user-group_promotions");
| { flash_message($lang->error_invalid_promo_id, 'error'); admin_redirect("index.php?module=user-group_promotions");
|