Permalink
Browse files

This syntax is supported only in php >= 5.4 (some servers are using 5.3)

  • Loading branch information...
Arnaud Héritier
Arnaud Héritier committed Jan 20, 2014
1 parent 8657f39 commit dd741fca2263f3774a5bdae57ed490766c29a612
Showing with 3 additions and 2 deletions.
  1. +3 −2 var/www/features.php
View
@@ -62,6 +62,7 @@
<h3>Branches deployed on acceptance</h3>
<?php
//List all projects
+ $projectsNames = getRepositories();
$projects = array_keys(getRepositories());
$features = getFeatureBranches($projects);
?>
@@ -70,7 +71,7 @@
<tr>
<th class="col-center">Branch feature/????</th>
<?php foreach ($projects as $project) { ?>
- <th class="col-center"><?=getRepositories()[$project]?></th>
+ <th class="col-center"><?=$projectsNames[$project]?></th>
<?php } ?>
</tr>
</thead>
@@ -101,7 +102,7 @@
<tr>
<th class="col-center">Branch feature/????</th>
<?php foreach ($projects as $project) { ?>
- <th class="col-center"><?=getRepositories()[$project]?></th>
+ <th class="col-center"><?=$projectsNames[$project]?></th>
<?php } ?>
</tr>
</thead>

0 comments on commit dd741fc

Please sign in to comment.