1
0
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:
Cameron
2016-12-17 10:15:10 -08:00
parent 3af165f351
commit f113a0d265
10 changed files with 10 additions and 10 deletions

View File

@@ -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;
}

View File

@@ -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>";
}