Skip to content

Commit c10911a

Browse files
author
Pascal Dreissen
committed
Typo in remote api event (fixes: 4022)
1 parent 28ad72e commit c10911a

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

interface/lib/classes/remote.d/sites.inc.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -434,7 +434,7 @@ public function sites_web_domain_add($session_id, $client_id, $params, $readonly
434434
if($params['pm_min_spare_servers'] == '') $params['pm_min_spare_servers'] = 1;
435435
if($params['pm_max_spare_servers'] == '') $params['pm_max_spare_servers'] = 1;
436436

437-
$domain_id = $this->insertQuery('../sites/form/web_vhost_domain.tform.php', $client_id, $params, 'sites:web_domain:on_after_insert');
437+
$domain_id = $this->insertQuery('../sites/form/web_vhost_domain.tform.php', $client_id, $params, 'sites:web_vhost_domain:on_after_insert');
438438
if ($readonly === true)
439439
$app->db->query("UPDATE web_domain SET `sys_userid` = '1' WHERE domain_id = ?", $domain_id);
440440
return $domain_id;

0 commit comments

Comments
 (0)