From 7ba8c74f18c02336043db4c87e099ecbd139bfd2 Mon Sep 17 00:00:00 2001 From: Adam Johnson Date: Sun, 17 May 2015 19:16:05 -0400 Subject: [PATCH] Fix inverted IsEmpty check --- Sources/Plasma/PubUtilLib/plAgeLoader/plAgeLoaderPaging.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Sources/Plasma/PubUtilLib/plAgeLoader/plAgeLoaderPaging.cpp b/Sources/Plasma/PubUtilLib/plAgeLoader/plAgeLoaderPaging.cpp index 288800ef..d6a6988a 100644 --- a/Sources/Plasma/PubUtilLib/plAgeLoader/plAgeLoaderPaging.cpp +++ b/Sources/Plasma/PubUtilLib/plAgeLoader/plAgeLoaderPaging.cpp @@ -293,7 +293,7 @@ bool plAgeLoader::IsPageExcluded( const plAgePage *page, const plString& ageN { if( pageName.CompareI( sExcludeList[ i ].fPageName ) == 0 ) { - if( ageName.IsEmpty() || !sExcludeList[ i ].fAgeName.IsEmpty() || + if( ageName.IsEmpty() || sExcludeList[ i ].fAgeName.IsEmpty() || ageName.CompareI(sExcludeList[ i ].fAgeName) == 0 ) { return true;