Skip to content
Snippets Groups Projects
Commit e0a7ef40 authored by Tim Steiner's avatar Tim Steiner
Browse files

Properly detect ACE status in new request search.

parent 324808b1
No related branches found
No related tags found
No related merge requests found
......@@ -2206,6 +2206,15 @@ class Courses_CourseModel extends Unl_Model
$this->_data['description'] = $description;
}
public function isAce()
{
if (count($this->getAceOutcomes()) > 0) {
return true;
}
return false;
}
public function getAceOutcomes()
{
if (!is_array($this->_data['aceOutcomes'])) {
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment