1
0
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:
Cameron
2014-05-23 20:22:37 -07:00
parent b70468cece
commit 857d5af399

View File

@@ -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')) )