Skip to content

Commit 4fc10fc

Browse files
author
mcramer
committed
Fixed typo
1 parent 2aaf93e commit 4fc10fc

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

interface/web/sites/web_domain_edit.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -572,7 +572,7 @@ function onAfterUpdate() {
572572
//* Set php_open_basedir if empty or domain or client has been changed
573573
if($web_rec['php_open_basedir'] == '' ||
574574
($this->dataRecord["domain"] != '' && $this->oldDataRecord["domain"] != '' && $this->dataRecord["domain"] != $this->oldDataRecord["domain"]) ||
575-
(isset($this->dataRecord["client_group_id"]) && $this->dataRecord["client_group_id"] != $this->oldDataRecord["sys_groupid"]))
575+
(isset($this->dataRecord["client_group_id"]) && $this->dataRecord["client_group_id"] != $this->oldDataRecord["sys_groupid"])) {
576576
$document_root = $app->db->quote(str_replace("[client_id]",$client_id,$document_root));
577577
$php_open_basedir = str_replace("[website_path]",$document_root,$web_config["php_open_basedir"]);
578578
$php_open_basedir = $app->db->quote(str_replace("[website_domain]",$web_rec['domain'],$php_open_basedir));

0 commit comments

Comments
 (0)