Browse Source

Fix inverted IsEmpty check

Adam Johnson 10 years ago
parent
commit
7ba8c74f18
  1. 2
      Sources/Plasma/PubUtilLib/plAgeLoader/plAgeLoaderPaging.cpp

2
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;

Loading…
Cancel
Save