Vergleich inc/functions_user.php - 1.8.2 - 1.8.4
Zeile 666 | Zeile 666 |
---|---|
/** |
/** |
* @param int Optional ID of the old question. | |
* @return string The question session id. |
* @return string The question session id. |
function generate_question() | function generate_question($old_qid=0) |
{ | { |
Zeile 679 | Zeile 680 |
else |
else |
} | |
} |
} |
$query = $db->simple_select('questions', 'qid, shown', 'active=1', array('limit' => 1, 'order_by' => $order_by)); | $query = $db->simple_select('questions', 'qid, shown', "active=1{$excl_old}", array('limit' => 1, 'order_by' => $order_by)); |
$question = $db->fetch_array($query); | $question = $db->fetch_array($query); |