I have pitech 1.0.1 and am getting an error on J5 :
PHP Warning: Undefined variable $currentDate in /home/ottawaoc/public_html/templates/pitech/html/com_content/article/default.php on line 53
This comes in this code:
$isExpired = JVERSION < 4
? (strtotime($this->item->publish_down) < strtotime(Factory::getDate())) && $this->item->publish_down != Factory::getDbo()->getNullDate()
: !is_null($this->item->publish_down) && $this->item->publish_down < $currentDate;
As I have J5 it should never get to the line using $currentDate. I understand this would be because JVERSION is J3 code - not J5. Is there updated code for Pitech?