Skip to content

Commit

Permalink
fix in logged-in view
Browse files Browse the repository at this point in the history
also changed min php version to php 5.5
  • Loading branch information
kokspflanze committed Aug 24, 2015
1 parent cb6dbf1 commit 93fe647
Show file tree
Hide file tree
Showing 3 changed files with 2 additions and 3 deletions.
1 change: 0 additions & 1 deletion .travis.yml
Original file line number Diff line number Diff line change
@@ -1,7 +1,6 @@
language: php

php:
- 5.4
- 5.5
- 5.6
- 7
Expand Down
2 changes: 1 addition & 1 deletion composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@
}
],
"require": {
"php": ">=5.4",
"php": ">=5.5",
"ext-intl" : "*",
"ext-gd" : "*",
"ext-curl" : "*",
Expand Down
2 changes: 1 addition & 1 deletion view/helper/logged-in.phtml
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
<?php foreach($this->loggedIn as $entry):
$routeParams = isset($entry['route']['params'])?$entry['route']['params']:[];
?>
<?php if($this->isAllowed($entry['route']['name'], $routeParams)): ?>
<?php if($this->isAllowed($entry['route']['name'])): ?>
<li>
<a href="<?= $this->url($entry['route']['name'], $routeParams) ?>" class="btn btn-info btn-block">
<i class="<?= $entry['class'] ?>"></i>
Expand Down

0 comments on commit 93fe647

Please sign in to comment.