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