mirror of
https://github.com/e107inc/e107.git
synced 2025-08-27 00:05:46 +02:00
Code cleanup
This commit is contained in:
@@ -88,7 +88,7 @@ class siteinfo_shortcodes // must match the folder name of the plugin.
|
||||
return SITETAG;
|
||||
}
|
||||
|
||||
function sc_sitelogo($parm='')
|
||||
function sc_sitelogo($parm=null)
|
||||
{
|
||||
return $this->sc_logo($parm);
|
||||
}
|
||||
@@ -168,7 +168,7 @@ class siteinfo_shortcodes // must match the folder name of the plugin.
|
||||
{
|
||||
//
|
||||
$dimensions[0] = $parm['w'];
|
||||
$dimensions[1] = $parm['h'];
|
||||
$dimensions[1] = !empty($parm['h']) ? $parm['h'] : 0;
|
||||
|
||||
if(empty($parm['noresize']) && !empty($logopref)) // resize by default - avoiding large files.
|
||||
{
|
||||
|
Reference in New Issue
Block a user