Skip to content

Commit

Permalink
Fixed issue: Template api version compatibility
Browse files Browse the repository at this point in the history
  • Loading branch information
eddylackmann committed Oct 24, 2019
1 parent d8672bc commit d9e9821
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 5 deletions.
9 changes: 5 additions & 4 deletions application/config/version.php
Expand Up @@ -12,9 +12,10 @@
*/


$config['versionnumber'] = '3.19.3';
$config['dbversionnumber'] = 359;
$config['buildnumber'] = '';
$config['updatable'] = true;
$config['versionnumber'] = '3.19.3';
$config['dbversionnumber'] = 359;
$config['buildnumber'] = '';
$config['updatable'] = true;
$config['templateapiversion'] = 3;
$config['assetsversionnumber'] = '30104';
return $config;
2 changes: 1 addition & 1 deletion application/views/admin/themes/templateeditorbar_view.php
Expand Up @@ -257,7 +257,7 @@ class="btn btn-danger selector--ConfirmModal">
?>
</div>
<?php endif;?>
<?php if(intval($templateapiversion) < intval(App()->getConfig("versionnumber")) ):?>
<?php if(intval($templateapiversion) < intval(App()->getConfig("templateapiversion")) ):?>
<div class="alert alert-info alert-dismissible" role="alert">
<button type="button" class="close" data-dismiss="alert" aria-label="Close"><span >&times;</span></button>
<div class="h4">
Expand Down

0 comments on commit d9e9821

Please sign in to comment.