mirror of
https://github.com/e107inc/e107.git
synced 2025-08-07 15:16:30 +02:00
Notice removal on welcome message shortcode.
This commit is contained in:
@@ -1,6 +1,6 @@
|
||||
<?php
|
||||
|
||||
function wmessage_shortcode($parm)
|
||||
function wmessage_shortcode($parm='')
|
||||
{
|
||||
if($parm == 'hide')
|
||||
{
|
||||
@@ -11,6 +11,8 @@ function wmessage_shortcode($parm)
|
||||
$e107cache = e107::getCache();
|
||||
$pref = e107::getPref();
|
||||
|
||||
$front_url = '';
|
||||
|
||||
/* DEPRECATED - see auto-detect in header_default.php
|
||||
$prefwmsc = varset($pref['wmessage_sc'], FALSE);
|
||||
if (($prefwmsc && $parm == 'header') || (!$prefwmsc && ($parm !='header')) )
|
||||
|
Reference in New Issue
Block a user