aboutsummaryrefslogtreecommitdiffstats
path: root/admin/themes/default/template
diff options
context:
space:
mode:
Diffstat (limited to 'admin/themes/default/template')
-rw-r--r--admin/themes/default/template/install.tpl4
1 files changed, 2 insertions, 2 deletions
diff --git a/admin/themes/default/template/install.tpl b/admin/themes/default/template/install.tpl
index e7981add2..7e27e6184 100644
--- a/admin/themes/default/template/install.tpl
+++ b/admin/themes/default/template/install.tpl
@@ -112,8 +112,8 @@ TD {
<select name="dblayer" id="dblayer">
{foreach from=$F_DB_ENGINES key=k item=v}
<option value="{$k}"
- {if $k==$F_DB_LAYER or $v.selected} selected="selected"{/if}
- {if $v.available!=1} disabled="disabled"{/if}
+ {if $k==$F_DB_LAYER and $v.available} selected="selected"{/if}
+ {if !$v.available} disabled="disabled"{/if}
>{$v.label}</option>
{/foreach}
</select>