mirror of
https://github.com/getformwork/formwork.git
synced 2025-01-17 21:49:04 +01:00
Fix Options > Updates parse error in PHP < 7.0
This commit is contained in:
parent
d1a51f9a75
commit
348a3641a8
@ -85,7 +85,8 @@ class Options extends AbstractController
|
||||
'content' => $this->view('options.updates', array(
|
||||
'tabs' => $this->view('options.tabs', array(
|
||||
'tab' => 'updates'
|
||||
), false)
|
||||
), false),
|
||||
'currentVersion' => Formwork::VERSION
|
||||
), false)
|
||||
));
|
||||
}
|
||||
|
@ -17,7 +17,7 @@
|
||||
</div>
|
||||
<div class="row current-version" style="display: none;">
|
||||
<div class="col-m-1-1">
|
||||
<div class="h5"><strong class="current-version-name">Formwork <?= $this->formwork()::VERSION ?></strong> <?= $this->label('updates.latest-version-available') ?></div>
|
||||
<div class="h5"><strong class="current-version-name">Formwork <?= $currentVersion ?></strong> <?= $this->label('updates.latest-version-available') ?></div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
|
Loading…
x
Reference in New Issue
Block a user