diff --git a/inc/ui/class-tours.php b/inc/ui/class-tours.php index fa2b835c..cac3b12d 100644 --- a/inc/ui/class-tours.php +++ b/inc/ui/class-tours.php @@ -356,7 +356,7 @@ function () use ($id, $steps, $once) { * fire markTourFinished for completeness (the operation is * idempotent). */ - if ($once && ! $pre_filter_finished && ! $finished) { + if (true === $once && false === $pre_filter_finished && false === $finished) { $user_id = get_current_user_id(); if ($user_id) {