diff --git a/modules/boonex/notifications/classes/BxNtfsTemplate.php b/modules/boonex/notifications/classes/BxNtfsTemplate.php index 4d51cbc3fb..f955dbc0f8 100644 --- a/modules/boonex/notifications/classes/BxNtfsTemplate.php +++ b/modules/boonex/notifications/classes/BxNtfsTemplate.php @@ -92,7 +92,7 @@ public function getPosts($aParams) if(empty($sEvent)) continue; if (bx_is_api()){ - $sEvent['author_data'] = BxDolProfile::getData($sEvent['object_owner_id']); + $sEvent['author_data'] = BxDolProfile::getData($sEvent['owner_id']); $aTmplVarsEvents[] = $sEvent; } else diff --git a/template/scripts/BxBaseFormView.php b/template/scripts/BxBaseFormView.php index 7079070be8..aa3ae348f7 100644 --- a/template/scripts/BxBaseFormView.php +++ b/template/scripts/BxBaseFormView.php @@ -1729,7 +1729,7 @@ protected function genCustomViewRowValueLabels ($aInput) )); } - protected function genCustomInputLabels ($aInput) + protected function genCustomInputLabels (&$aInput) { $oLabel = BxDolLabel::getInstance();