mirror of
https://github.com/ACSPRI/queXS
synced 2024-04-02 12:12:16 +00:00
Fix listing of questions for quota
This commit is contained in:
@@ -133,14 +133,15 @@ function lime_list_answeroptions($qid,$qcode)
|
||||
if ($q !== false)
|
||||
{
|
||||
|
||||
foreach($q as $qid => $val) {
|
||||
if ($val['title'] == $qcode) {
|
||||
$qp = $limeRPC->get_question_properties($limeKey,$qid,array('answeroptions'));
|
||||
if (!isset($qp['status'])) {
|
||||
$ret = $qp;
|
||||
}
|
||||
break;
|
||||
foreach($q as $tmp => $val) {
|
||||
if ($val['title'] == $qcode) {
|
||||
limerpc_init_qid($qid);
|
||||
$qp = $limeRPC->get_question_properties($limeKey,$val['qid'],array('answeroptions'));
|
||||
if (!isset($qp['status'])) {
|
||||
$ret = $qp;
|
||||
}
|
||||
break;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user