1
0
mirror of https://github.com/e107inc/e107.git synced 2025-07-31 20:00:37 +02:00

Code Cleanup

This commit is contained in:
Cameron
2019-05-20 14:53:43 -07:00
parent 6a2fdab074
commit bdb45485ee
27 changed files with 55 additions and 44 deletions

View File

@@ -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'])

View File

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