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:
1 parent
5ca665ea6e
commit
346a5cd2c5
2 files changed
+21
-14
No files matched your search
@@ -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