Skip to content

Commit 2e86dd5

Browse files
author
Till Brehm
committed
Merge branch 'master' into 'stable-3.1'
Fixes: #3846 See merge request !325
2 parents 8ec5ab5 + 9bc7870 commit 2e86dd5

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

interface/web/sites/templates/web_vhost_domain_edit.htm

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -74,7 +74,7 @@ <h1><tmpl_var name="list_head_txt"></h1>
7474
{tmpl_var name='ip_address'}
7575
</select></div>
7676
</div>
77-
<div class="form-group" style="display:none">
77+
<div class="form-group">
7878
<label for="ipv6_address" class="col-sm-3 control-label">{tmpl_var name='ipv6_address_txt'}</label>
7979
<div class="col-sm-9"><select name="ipv6_address" id="ipv6_address" class="form-control">
8080
{tmpl_var name='ipv6_address'}

server/plugins-available/nginx_plugin.inc.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -745,7 +745,7 @@ function update($event_name, $data) {
745745
$file_system = explode(" ", $df_output)[0];
746746
$primitive_root = explode(" ", $df_output)[1];
747747

748-
if ( $file_system , array('ext2','ext3','ext4') ) {
748+
if ( in_array($file_system , array('ext2','ext3','ext4'), true) ) {
749749
exec('setquota -u '. $username . ' ' . $blocks_soft . ' ' . $blocks_hard . ' 0 0 -a &> /dev/null');
750750
exec('setquota -T -u '.$username.' 604800 604800 -a &> /dev/null');
751751
} elseif ($file_system == 'xfs') {

0 commit comments

Comments
 (0)