1
0
mirror of https://github.com/e107inc/e107.git synced 2025-08-27 00:05:46 +02:00

Code cleanup

This commit is contained in:
Cameron
2019-05-26 17:05:29 -07:00
parent f1081c2b21
commit eb6401385e
8 changed files with 510 additions and 1385 deletions

View File

@@ -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.
{