Skip to content

Commit 8c87cd9

Browse files
author
Marius Burkard
committed
Merge branch 'backup-path-fix-5936' into 'develop'
Fixes backup path #5936 See merge request ispconfig/ispconfig3!1336
2 parents b2491dd + 39ecfda commit 8c87cd9

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

server/plugins-available/backup_plugin.inc.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -73,7 +73,7 @@ public function backup_action($action_name, $data) {
7373
$app->uses('ini_parser,file,getconf,system');
7474
$app->load("backup");
7575

76-
$web = $app->db->queryOneRecord("SELECT * FROM web_domain WHERE domain_id = ?", $backup['parent_domain_id']);
76+
$web = $app->dbmaster->queryOneRecord("SELECT * FROM web_domain WHERE domain_id = ?", $backup['parent_domain_id']);
7777
$server_config = $app->getconf->get_server_config($conf['server_id'], 'server');
7878
$backup_dir = trim($server_config['backup_dir']);
7979
if($backup_dir == '') return;

0 commit comments

Comments
 (0)