Skip to content

Commit

Permalink
fix notice
Browse files Browse the repository at this point in the history
  • Loading branch information
nicoladj77 committed Nov 11, 2024
1 parent 1380449 commit e908180
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions modules/admin/classes/menu/pages/setup-wizard.php
Original file line number Diff line number Diff line change
Expand Up @@ -22,6 +22,10 @@ public static function has_site_wizard_been_completed(): bool {
if ( null === self::$is_setup_wizard_completed ) {
$sessions = \Elementor\App\Modules\ImportExport\Processes\Revert::get_import_sessions();

if ( ! $sessions ) {
return false;
}

$last_session = end( $sessions );
$kit_name = $last_session['kit_name'];

Expand Down

0 comments on commit e908180

Please sign in to comment.