1
0
mirror of https://github.com/e107inc/e107.git synced 2025-08-29 01:00:20 +02:00

Issue #1870 , Issue #3420 Login template/shortcode issue. Possible fix.

This commit is contained in:
Cameron
2018-09-12 10:29:08 -07:00
parent 775cf26b98
commit 184edd3193
3 changed files with 4 additions and 4 deletions

View File

@@ -93,7 +93,7 @@ class siteinfo_shortcodes // must match the folder name of the plugin.
return $this->sc_logo($parm);
}
function sc_logo($parm = '')
function sc_logo($parm = array())
{
if(is_string($parm))
{
@@ -105,7 +105,7 @@ class siteinfo_shortcodes // must match the folder name of the plugin.
$logopref = e107::getConfig('core')->get('sitelogo');
$logop = $tp->replaceConstants($logopref);
if($parm == 'login' || isset($parm['login'])) // Login Page. BC fix.
if(isset($parm['login'])) // Login Page. BC fix.
{
if(!empty($logopref) && is_readable($logop))