Closed Jefferson49 closed 6 months ago
The code in helper.php seems to wrongly checking the date_end against '0000-00-00'. However, should be checked against the current date.
// disable results till poll is ended
if($polling_array[0]->showresultsduringpoll == '0' and $polling_array[0]->date_end != '0000-00-00')
$hide_results_ids[$poll_index] = $polling_words[25] . HTMLHelper::date(($polling_array[0]->date_end ?? ''), $stringdateformat, $data_time_zone);
Observed with v5.0.3/5.1.2 and Joomla 4/5
Was initially mentioned in issue #82