Jump to content

Jailson Brito

Members
  • Content Count

    1
  • Joined

  • Last visited

  1. Hello, I'm having a problem with public_html / administrator / components / com_jomestate / models / dashboard.php on line 90. I have already researched some forums and apply the logic indicated but still keep giving an error, follow my code. for ($i=0;$i<count(($news)?;$i++){ if ($news[$i]->category=='JomEstate' || $news[$i]->category=='ALL'){ $ret['items'][]=$news[$i]->title; $news[$i]->pubDate=substr($news[$i]->pubDate,0,-5); $ret['date'][]=date("Y-m-d",strtotime($news[$i]->pubDate)); $ret['desc'][]=nl2br(str_replace('"',"'",strip_tags($news[$i]->description))); } I'm using php 7.4.x. Someone would have the correct code please thanks? Att Jailson Brito
×
×
  • Create New...