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

Alphebetize subject list in SubjectRouter result list.

parent c29700be
No related branches found
No related tags found
No related merge requests found
......@@ -35,10 +35,10 @@ class ApprovalActionsSubjectRouter extends Nmc_Db_Table
public function getResultStatusStrings()
{
$subjects = Subjects::getInstance()->fetchAll();
$subjects = Subjects::getInstance()->getSubjectList();
$subjectsArray = array();
foreach ($subjects as $subject) {
$subjectsArray[$subject->name] = $subject->name;
$subjectsArray[$subject] = $subject;
}
return $subjectsArray;
}
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment