Skip to content

Commit

Permalink
#4148 - Build-in API support (form & notifs)
Browse files Browse the repository at this point in the history
  • Loading branch information
romanlesnikov committed Oct 30, 2023
1 parent 5efca73 commit 3b0e2cc
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion modules/boonex/notifications/classes/BxNtfsTemplate.php
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
2 changes: 1 addition & 1 deletion template/scripts/BxBaseFormView.php
Original file line number Diff line number Diff line change
Expand Up @@ -1729,7 +1729,7 @@ protected function genCustomViewRowValueLabels ($aInput)
));
}

protected function genCustomInputLabels ($aInput)
protected function genCustomInputLabels (&$aInput)
{
$oLabel = BxDolLabel::getInstance();

Expand Down

0 comments on commit 3b0e2cc

Please sign in to comment.