From a461d9e738ec62238e8d10d47c186c2e3dc957c2 Mon Sep 17 00:00:00 2001 From: Carlos Rafael Giani Date: Wed, 10 Sep 2025 12:43:33 +0200 Subject: [PATCH] object-interest: set pw_props variable if not set and global props exist Otherwise, object manager lookups and iterations with type "pw" may not work properly. --- lib/wp/object-interest.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/lib/wp/object-interest.c b/lib/wp/object-interest.c index 500f864c..e575167f 100644 --- a/lib/wp/object-interest.c +++ b/lib/wp/object-interest.c @@ -770,6 +770,8 @@ wp_object_interest_matches_full (WpObjectInterest * self, if (!pw_global_props && WP_IS_SESSION_ITEM (object)) { WpSessionItem *si = (WpSessionItem *) object; pw_global_props = props = wp_session_item_get_properties (si); + if (!pw_props) + pw_props = props; } }