Skip to content

Commit

Permalink
Fixed undefined variable bug that prevents adding new site
Browse files Browse the repository at this point in the history
  • Loading branch information
givanz committed Mar 14, 2024
1 parent cc35ea2 commit b529366
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion admin/controller/settings/site.php
Expand Up @@ -146,7 +146,7 @@ function save() {
$return = $sites->add($data);
$site_id = $return['site'];
$site['state'] = 'live';
$site['id'] = $id;
$site['id'] = $site_id;
Sites::saveSite($site);

list($site, $setting, $site_id, $data) = Event :: trigger(__CLASS__,__FUNCTION__, $site, $setting, $site_id, $data);
Expand Down

0 comments on commit b529366

Please sign in to comment.