Skip to content

Commit

Permalink
fixes cs
Browse files Browse the repository at this point in the history
  • Loading branch information
nojimage committed Jan 22, 2021
1 parent 2a473ec commit 91d0757
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion src/Controller/Component/AutoIssuerComponent.php
Original file line number Diff line number Diff line change
Expand Up @@ -162,7 +162,8 @@ public function onInitializeModel(Event $event)
}

// set issuer to the model, if logged in user can get
if (!empty($this->issuer) &&
if (
!empty($this->issuer) &&
$table->behaviors()->hasMethod('setLogIssuer') &&
$this->getTableLocator()->exists($this->issuer->getSource())
) {
Expand Down

0 comments on commit 91d0757

Please sign in to comment.