From c4197a76c01a75536c9955345f1eb3cdf626ee64 Mon Sep 17 00:00:00 2001 From: Moc Date: Sun, 24 Mar 2013 14:37:11 +0100 Subject: [PATCH] And one more global pointer in the wmessage sc --- e107_core/shortcodes/single/wmessage.php | 1 + 1 file changed, 1 insertion(+) diff --git a/e107_core/shortcodes/single/wmessage.php b/e107_core/shortcodes/single/wmessage.php index da0ab8c18..abbd70b9e 100644 --- a/e107_core/shortcodes/single/wmessage.php +++ b/e107_core/shortcodes/single/wmessage.php @@ -42,6 +42,7 @@ function wmessage_shortcode($parm) // Actually want to display a welcome message here $ns = e107::getRender(); $tp = e107::getParser(); + $sql = e107::getDb(); if($cacheData = $e107cache->retrieve('wmessage')) {