mirror of
https://github.com/e107inc/e107.git
synced 2025-07-31 20:00:37 +02:00
Code Cleanup
This commit is contained in:
@@ -296,7 +296,7 @@
|
||||
/**
|
||||
* @example {JOINED: dateformat=relative} - long|short|relative
|
||||
*/
|
||||
function sc_joined($parm = '')
|
||||
function sc_joined($parm = null)
|
||||
{
|
||||
$gen = e107::getDate();
|
||||
if($this->postInfo['post_user'])
|
||||
|
@@ -307,7 +307,7 @@
|
||||
}
|
||||
|
||||
|
||||
function sc_search($parm='')
|
||||
function sc_search($parm=null)
|
||||
{
|
||||
|
||||
if(!deftrue('FONTAWESOME') || !$srchIcon = e107::getParser()->toGlyph('fa-search'))
|
||||
@@ -679,7 +679,7 @@
|
||||
------*/
|
||||
|
||||
|
||||
function sc_views($parm='')
|
||||
function sc_views($parm=null)
|
||||
{
|
||||
$val = ($this->var['thread_views']) ? $this->var['thread_views'] : '0' ;
|
||||
|
||||
@@ -692,7 +692,7 @@
|
||||
}
|
||||
|
||||
|
||||
function sc_replies($parm='')
|
||||
function sc_replies($parm=null)
|
||||
{
|
||||
$val = ($this->var['thread_total_replies']) ? $this->var['thread_total_replies'] : '0';
|
||||
|
||||
|
Reference in New Issue
Block a user