Commit 39ee67c4 authored by Richard Mansfield's avatar Richard Mansfield
Browse files

Don't assume views can only be submitted to groups on my views page

parent a609b8b7
......@@ -54,9 +54,6 @@ if (!$tutorgroupdata = @get_records_sql_array('SELECT g.id, g.name
AND t.submittableto = 1
ORDER BY g.name', array($userid))) {
$tutorgroupdata = array();
foreach ($data->data as &$view) {
unset($view['submittedto']);
}
}
else {
$options = array();
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment