* Fix for not show error when activate extension fail. Fix bug #41339.

This commit is contained in:
wangyidong
2023-12-12 10:17:07 +08:00
parent ce9eadd54d
commit 17c1c098dc
+3 -3
View File
@@ -15,12 +15,12 @@
<div class='center-block'>
<div class='main-header'>
<h2>
<span class='prefix' title='EXTENSION'><?php echo html::icon($lang->icons['extension']);?></span>
<span class='prefix' title='EXTENSION'><?php echo html::icon($lang->icons['extension']) . $this->lang->extension->activate;?></span>
</h2>
</div>
<?php if(isset($error) and $error):?>
<div class='text-center'>
<div class='text-danger'><?php $error;?></div>
<div class='text-left'>
<div class='text-danger'><?php echo $error;?></div>
</div>
<?php else:?>
<div class='text-center with-padding'>