Skip to content

Commit

Permalink
Merge pull request #9 from matej21/patch-1
Browse files Browse the repository at this point in the history
Removed magic getter usage
  • Loading branch information
hrach committed Mar 14, 2015
2 parents e0c75d8 + a43b202 commit 4932a7f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/SecuredLinksPresenterTrait.php
Expand Up @@ -29,7 +29,7 @@ trait SecuredLinksPresenterTrait
public function createSecuredLink(PresenterComponent $component, $link, $destination)
{
/** @var $lastRequest Nette\Application\Request */
$lastRequest = $this->lastCreatedRequest;
$lastRequest = $this->getLastCreatedRequest();

do {
if ($lastRequest === NULL) {
Expand Down

0 comments on commit 4932a7f

Please sign in to comment.