Skip to content

Commit

Permalink
Merge pull request #169 from Ioannis/CFM-274_Breadcrumb_Component_patch
Browse files Browse the repository at this point in the history
CFM-274_Breadcrumb_Component_patch
  • Loading branch information
Ioannis authored Mar 11, 2024
2 parents 0305173 + 58a7cd7 commit d88a194
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions app/src/Controller/StandardController.php
Original file line number Diff line number Diff line change
Expand Up @@ -108,8 +108,10 @@ public function add() {
$this->set('vv_obj', $obj);

// PrimaryLinkTrait, via AppController
$this->getPrimaryLink();

// Check if I have already calculated it up the tree of execution
if(empty($this->cur_pl->value) && empty($this->cur_pl->attr)) {
$this->getPrimaryLink();
}
// AutoViewVarsTrait, via AppController
$this->populateAutoViewVars();

Expand Down

0 comments on commit d88a194

Please sign in to comment.