Skip to content

Commit

Permalink
Merge pull request #169 from bancer/patch-1
Browse files Browse the repository at this point in the history
Fix exception message placeholders
  • Loading branch information
markstory authored Sep 21, 2021
2 parents de01882 + 54819f6 commit 1dbabf1
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/Model/Table/AclNodesTable.php
Original file line number Diff line number Diff line change
Expand Up @@ -185,7 +185,7 @@ public function node($ref = null)
$query = $this->find('all', $queryData);

if ($query->count() == 0) {
throw new Exception\Exception(__d('cake_dev', "AclNode::node() - Couldn't find {0} node identified by \"{1}\"", [$type, print_r($ref, true)]));
throw new Exception\Exception(__d('cake_dev', "AclNode::node() - Couldn't find %s node identified by \"%s\"", [$type, print_r($ref, true)]));
}
}

Expand Down

0 comments on commit 1dbabf1

Please sign in to comment.