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

Misc updates

parent 40793eaa
No related branches found
No related tags found
No related merge requests found
......@@ -62,7 +62,7 @@ class ApprovalBodyAdminController extends Nmc_Controller_Action
{
$in = $this->getRequest();
$approvalBodyId = Zend_Filter_Int::filter($in->getParam(0));
$parentApprovalBody = ApprovalBodies::getInstance()->find($approvalBodyId);
$parentApprovalBody = ApprovalBodies::getInstance()->findOne($approvalBodyId);
$out = new Application_View();
$out->page = 'approval_body_admin';
......
......@@ -150,7 +150,7 @@ class CourseAdminController extends Nmc_Controller_Action
if($val2['delete'] == 'yes') {
continue;
}
$attributeTable = call_user_func(array('Course' . $key, 'getInstance'));
$attributeTable = call_user_func(array('Course' . ucfirst($key), 'getInstance'));
$currentAttribute = $attributeTable->fetchNew();
unset($val2['delete']);
......
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