mirror of
https://github.com/e107inc/e107.git
synced 2025-08-22 14:13:03 +02:00
Issue #5443 - PHP 8.4 fixes.
This commit is contained in:
@@ -954,8 +954,11 @@ class news_front
|
||||
|
||||
$gen = new convert;
|
||||
$sql->select("news_category", "*", "category_id='$category'");
|
||||
$row = $sql->fetch();
|
||||
extract($row); // still required for the table-render. :(
|
||||
if($row = $sql->fetch())
|
||||
{
|
||||
extract($row); // still required for the table-render. :(
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
if ($this->action == 'all') // show archive of all news items using list-style template.
|
||||
|
Reference in New Issue
Block a user