Skip to content

Commit 57299d7

Browse files
author
fantu
committed
fix other parse error
1 parent 96cc319 commit 57299d7

File tree

3 files changed

+3
-3
lines changed

3 files changed

+3
-3
lines changed

install/dist/lib/fedora.lib.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -442,7 +442,7 @@ public function configure_firewall()
442442
}
443443
if(!stristr($tcp_public_services, $conf['apache']['vhost_port'])) {
444444
$tcp_public_services .= ' '.intval($conf['apache']['vhost_port']);
445-
if($row["tcp_port"]) != '') $this->db->query("UPDATE firewall SET tcp_port = tcp_port + ',".intval($conf['apache']['vhost_port'])."' WHERE server_id = ".intval($conf['server_id']));
445+
if($row["tcp_port"] != '') $this->db->query("UPDATE firewall SET tcp_port = tcp_port + ',".intval($conf['apache']['vhost_port'])."' WHERE server_id = ".intval($conf['server_id']));
446446
}
447447

448448
$content = str_replace("{TCP_PUBLIC_SERVICES}", $tcp_public_services, $content);

install/dist/lib/opensuse.lib.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -461,7 +461,7 @@ public function configure_firewall()
461461

462462
if(!stristr($tcp_public_services, $conf['apache']['vhost_port'])) {
463463
$tcp_public_services .= ' '.intval($conf['apache']['vhost_port']);
464-
if($row["tcp_port"]) != '') $this->db->query("UPDATE firewall SET tcp_port = tcp_port + ',".intval($conf['apache']['vhost_port'])."' WHERE server_id = ".intval($conf['server_id']));
464+
if($row["tcp_port"] != '') $this->db->query("UPDATE firewall SET tcp_port = tcp_port + ',".intval($conf['apache']['vhost_port'])."' WHERE server_id = ".intval($conf['server_id']));
465465
}
466466

467467
$content = str_replace("{TCP_PUBLIC_SERVICES}", $tcp_public_services, $content);

install/lib/installer_base.lib.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -731,7 +731,7 @@ public function configure_firewall()
731731

732732
if(!stristr($tcp_public_services, $conf['apache']['vhost_port'])) {
733733
$tcp_public_services .= ' '.intval($conf['apache']['vhost_port']);
734-
if($row["tcp_port"]) != '') $this->db->query("UPDATE firewall SET tcp_port = tcp_port + ',".intval($conf['apache']['vhost_port'])."' WHERE server_id = ".intval($conf['server_id']));
734+
if($row["tcp_port"] != '') $this->db->query("UPDATE firewall SET tcp_port = tcp_port + ',".intval($conf['apache']['vhost_port'])."' WHERE server_id = ".intval($conf['server_id']));
735735
}
736736

737737
$content = str_replace("{TCP_PUBLIC_SERVICES}", $tcp_public_services, $content);

0 commit comments

Comments
 (0)