diff --git a/app/Model/CoProvisioningTarget.php b/app/Model/CoProvisioningTarget.php index 1ab0b1744..94dbe16bc 100644 --- a/app/Model/CoProvisioningTarget.php +++ b/app/Model/CoProvisioningTarget.php @@ -112,8 +112,8 @@ public function beforeSave($options = array()) { $o = $this->find('first', $args); - if(!empty($o['m'])) { - $n = $o['m'] + 1; + if(!empty($o[0]['m'])) { + $n = $o[0]['m'] + 1; } $this->data['CoProvisioningTarget']['ordr'] = $n; diff --git a/app/Plugin/GrouperProvisioner/Model/CoGrouperProvisionerTarget.php b/app/Plugin/GrouperProvisioner/Model/CoGrouperProvisionerTarget.php index 11d23b346..9e3240497 100644 --- a/app/Plugin/GrouperProvisioner/Model/CoGrouperProvisionerTarget.php +++ b/app/Plugin/GrouperProvisioner/Model/CoGrouperProvisionerTarget.php @@ -486,6 +486,11 @@ public function provisionCoGroupDeleted($coProvisioningTargetData, $coGroup) { public function provisionCoGroupReprovisionRequested($coProvisioningTargetData, $coGroup) { $provisionerGroup = $this->CoGrouperProvisionerGroup->findProvisionerGroup($coProvisioningTargetData, $coGroup); + + if(!isset($provisionerGroup)) { + $provisionerGroup = $this->CoGrouperProvisionerGroup->addProvisionerGroup($coProvisioningTargetData, $coGroup); + } + $groupName = $this->CoGrouperProvisionerGroup->getGrouperGroupName($provisionerGroup); $groupDescription = $this->CoGrouperProvisionerGroup->getGrouperGroupDescription($provisionerGroup); $groupDisplayExtension = $this->CoGrouperProvisionerGroup->getGroupDisplayExtension($provisionerGroup); diff --git a/app/View/CoEnrollmentAttributes/fields.inc b/app/View/CoEnrollmentAttributes/fields.inc index 8a2d4fdcb..0efa9539f 100644 --- a/app/View/CoEnrollmentAttributes/fields.inc +++ b/app/View/CoEnrollmentAttributes/fields.inc @@ -522,7 +522,7 @@ -
+
-
  • +
  • -
  • +
  • -
  • +
  • -
  • +
  • -
  • +