mirror of
https://github.com/e107inc/e107.git
synced 2025-07-31 11:50:30 +02:00
Bugtracker #3645 - emote handler not initialised in time
This commit is contained in:
@@ -1,6 +1,12 @@
|
||||
global $pref, $e107cache, $tp;
|
||||
|
||||
if($pref['smiley_activate']) {
|
||||
if($pref['smiley_activate'])
|
||||
{
|
||||
if (!is_object($tp->e_emote))
|
||||
{
|
||||
require_once(e_HANDLER.'emote_filter.php');
|
||||
$tp->e_emote = new e_emoteFilter;
|
||||
}
|
||||
$code_text = $tp->e_emote->filterEmotesRev($code_text);
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user