Skip to content

Commit ec4061e

Browse files
authored
Fix Edit postegresql config page error (hestiacp#3252)
1 parent beb05ac commit ec4061e

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

web/edit/server/postgresql/index.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -49,7 +49,7 @@
4949
$new_conf = $mktemp_output[0];
5050
$fp = fopen($new_conf, "w");
5151
fwrite($fp, str_replace("\r\n", "\n", $_POST["v_config"]));
52-
fclose($new_conf);
52+
fclose($fp);
5353
exec(
5454
HESTIA_CMD . "v-change-sys-service-config " . $new_conf . " postgresql " . $v_restart,
5555
$output,

0 commit comments

Comments
 (0)