mirror of
https://github.com/e107inc/e107.git
synced 2025-08-18 20:31:41 +02:00
PHP Warning removals.
This commit is contained in:
@@ -14,7 +14,7 @@ if (!defined('e107_INIT')) { exit; }
|
||||
//TODO: Investigate queries - needs some more sorting
|
||||
class list_forum
|
||||
{
|
||||
function list_forum($parent)
|
||||
function __construct($parent)
|
||||
{
|
||||
$this->parent = $parent;
|
||||
}
|
||||
|
@@ -118,7 +118,7 @@ class forum_newforumposts_menu // plugin folder + menu name (without the .php)
|
||||
|
||||
$text .= "<li>";
|
||||
|
||||
if ($this->menuPref['title'])
|
||||
if (!empty($this->menuPref['title']))
|
||||
{
|
||||
$text .= "<a href='{$url}'>{$topic}</a><br />{$post}<br /><small class='text-muted muted'>".LAN_FORUM_MENU_001." {$poster} {$datestamp}</small>";
|
||||
}
|
||||
|
Reference in New Issue
Block a user