mirror of
https://github.com/e107inc/e107.git
synced 2025-08-20 13:21:54 +02:00
PHP8 Compatibility and code cleanup.
This commit is contained in:
@@ -245,7 +245,7 @@ function parse_forum($f, $restricted_string = '')
|
||||
|
||||
|
||||
|
||||
function parse_subs($forumList, $id ='', $lastpost_datestamp)
|
||||
function parse_subs($forumList, $id, $lastpost_datestamp)
|
||||
{
|
||||
|
||||
$tp = e107::getParser();
|
||||
|
@@ -17,7 +17,7 @@
|
||||
|
||||
protected $e107;
|
||||
protected $defaultImgAttachSize = false;
|
||||
protected $pref;
|
||||
public $pref;
|
||||
// $param is sent from nfp menu.
|
||||
|
||||
function __construct()
|
||||
@@ -1264,13 +1264,6 @@
|
||||
return $text;
|
||||
}
|
||||
|
||||
if(E107_DEBUG_LEVEL > 0)
|
||||
{
|
||||
// echo "<div class='alert alert-info'>Thread id: ".$threadId."</div>";
|
||||
// print_a($this);
|
||||
}
|
||||
|
||||
|
||||
// Preview should be reserved for the full 'Post reply' page. <input type='submit' name='fpreview' value='" . Preview . "' />
|
||||
}
|
||||
//---- else
|
||||
|
Reference in New Issue
Block a user