- First commit to issue fork.
I confirm the solution from @djg_tram works. I created a local patch and applied it to my module, and now the block display is properly obeying this setting.
- Status changed to Needs review
over 1 year ago 7:33am 15 June 2023 - π±π»Latvia biguzis
Here is a patch with
if (!$empty || !empty($this->options['empty'])) { // code }
- Status changed to Needs work
about 1 year ago 11:40am 16 November 2023 - πΊπ¦Ukraine paulrad
Hi, @biguzis!
The!$empty
code is always true, so the code will always proceed with the check. - Status changed to Needs review
about 1 year ago 2:19pm 22 November 2023 -
paulrad β
committed 6816fc0f on 8.x-1.x
#3220777 - blocks obey the 'display if no results' option
-
paulrad β
committed 6816fc0f on 8.x-1.x
- Status changed to Fixed
12 months ago 5:43pm 2 January 2024 Automatically closed - issue fixed for 2 weeks with no activity.