Zeile 129 | Zeile 129 |
---|
$query = $db->simple_select("questions", "*", "qid='".$mybb->get_input('qid', MyBB::INPUT_INT)."'"); $question = $db->fetch_array($query);
|
$query = $db->simple_select("questions", "*", "qid='".$mybb->get_input('qid', MyBB::INPUT_INT)."'"); $question = $db->fetch_array($query);
|
if(!$question['qid'])
| if(!$question)
|
{ flash_message($lang->error_invalid_question, 'error'); admin_redirect("index.php?module=config-questions");
| { flash_message($lang->error_invalid_question, 'error'); admin_redirect("index.php?module=config-questions");
|
Zeile 255 | Zeile 255 |
---|
$query = $db->simple_select("questions", "*", "qid='".$mybb->get_input('qid', MyBB::INPUT_INT)."'"); $question = $db->fetch_array($query);
|
$query = $db->simple_select("questions", "*", "qid='".$mybb->get_input('qid', MyBB::INPUT_INT)."'"); $question = $db->fetch_array($query);
|
if(!$question['qid'])
| if(!$question)
|
{ flash_message($lang->error_invalid_question, 'error'); admin_redirect("index.php?module=config-questions");
| { flash_message($lang->error_invalid_question, 'error'); admin_redirect("index.php?module=config-questions");
|
Zeile 287 | Zeile 287 |
---|
$query = $db->simple_select("questions", "*", "qid='".$mybb->get_input('qid', MyBB::INPUT_INT)."'"); $question = $db->fetch_array($query);
|
$query = $db->simple_select("questions", "*", "qid='".$mybb->get_input('qid', MyBB::INPUT_INT)."'"); $question = $db->fetch_array($query);
|
if(!$question['qid'])
| if(!$question)
|
{ flash_message($lang->error_invalid_question, 'error'); admin_redirect("index.php?module=config-questions");
| { flash_message($lang->error_invalid_question, 'error'); admin_redirect("index.php?module=config-questions");
|
Zeile 315 | Zeile 315 |
---|
$query = $db->simple_select("questions", "*", "qid='".$mybb->get_input('qid', MyBB::INPUT_INT)."'"); $question = $db->fetch_array($query);
|
$query = $db->simple_select("questions", "*", "qid='".$mybb->get_input('qid', MyBB::INPUT_INT)."'"); $question = $db->fetch_array($query);
|
if(!$question['qid'])
| if(!$question)
|
{ flash_message($lang->error_invalid_question, 'error'); admin_redirect("index.php?module=config-questions");
| { flash_message($lang->error_invalid_question, 'error'); admin_redirect("index.php?module=config-questions");
|