Skip to content

Commit

Permalink
Fix
Browse files Browse the repository at this point in the history
  • Loading branch information
Eywek committed Oct 10, 2017
1 parent 8c3e246 commit 3715b7b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion app/View/Plugin/admin_index.ctp
Original file line number Diff line number Diff line change
Expand Up @@ -55,7 +55,7 @@
<?php
$lastVersion = (isset($versions[$value->apiID])) ? $versions[$value->apiID] : false;
if($lastVersion && $value->version != $lastVersion) { ?>
<a <?= (explode('.', $lastVersion)[0] > explode('.', $value->version)[0] ? 'data-warning-update' : '') ?> href="<?= $this->Html->url(array('controller' => 'plugine', 'action' => 'update', $value->apiID, $value->slug, 'admin' => true)) ?>" class="btn btn-warning update"><?= $Lang->get('GLOBAL__UPDATE') ?></a> <!-- ICI -->
<a <?= (explode('.', $lastVersion)[0] > explode('.', $value->version)[0] ? 'data-warning-update' : '') ?> href="<?= $this->Html->url(array('controller' => 'plugin', 'action' => 'update', $value->apiID, $value->slug, 'admin' => true)) ?>" class="btn btn-warning update"><?= $Lang->get('GLOBAL__UPDATE') ?></a> <!-- ICI -->
<?php } ?>
</td>
</tr>
Expand Down

0 comments on commit 3715b7b

Please sign in to comment.