diff --git a/src/shared/proparser/profileevaluator.cpp b/src/shared/proparser/profileevaluator.cpp index 0a7e33665e993afb374ccadcf7bebeeba8746b89..c51d57cfcd6e7c5beb59e96869ab1bf286fdea46 100644 --- a/src/shared/proparser/profileevaluator.cpp +++ b/src/shared/proparser/profileevaluator.cpp @@ -2494,6 +2494,7 @@ ProFileEvaluator::Private::VisitReturn ProFileEvaluator::Private::evaluateCondit } if (!quoted && !parens && (isOp || d == ed)) { if (m_cumulative || (orOp != ret)) { + test = test.trimmed(); if (isFunc) ret = evaluateConditionalFunction(ProString(test), ProString(argsString, NoHash)); else