mirror of
https://github.com/e107inc/e107.git
synced 2025-08-27 00:05:46 +02:00
Test all e_shortcode.php files in core. PHP8 Fix for featurebox.
This commit is contained in:
@@ -20,7 +20,7 @@ class siteinfo_shortcodes // must match the folder name of the plugin.
|
||||
$path = (strpos(SITEBUTTON, 'http:') !== false ? SITEBUTTON : e_IMAGE.SITEBUTTON);
|
||||
}
|
||||
|
||||
if($parm['type'] == 'email' || $parm == 'email') // (retain {} constants )
|
||||
if(varset($parm['type']) == 'email' || $parm == 'email') // (retain {} constants )
|
||||
{
|
||||
$h = !empty($parm['h']) ? $parm['h'] : 100;
|
||||
|
||||
@@ -213,7 +213,7 @@ class siteinfo_shortcodes // must match the folder name of the plugin.
|
||||
return $image;
|
||||
}
|
||||
|
||||
function sc_theme_disclaimer($parm)
|
||||
function sc_theme_disclaimer($parm=null)
|
||||
{
|
||||
$pref = e107::getPref();
|
||||
return (defined('THEME_DISCLAIMER') && $pref['displaythemeinfo'] ? THEME_DISCLAIMER : '');
|
||||
|
Reference in New Issue
Block a user