Flip logic for determining if $section variable is set.
authorBradley Taylor <hello@brad-taylor.co.uk>
Wed, 10 Nov 2021 19:23:40 +0000 (19:23 +0000)
committerBradley Taylor <hello@brad-taylor.co.uk>
Wed, 10 Nov 2021 19:23:40 +0000 (19:23 +0000)
commit64dc59a66da9a33055bd6bef4a9c2a032433d6b5
tree49695e143068e6cf85d3135606960192b6716afb
parent118661db8ce8b66e05c935f3558852b715bf0ddb
Flip logic for determining if $section variable is set.

Previously empty() function calls were added in order to provide PHP8 compatiability,
however, the logic commited was back-to-front.

This broke the ability to display pie and bar charts for those reports which support them.
templates/CRM/Report/Form/Layout/Graph.tpl