diff --git a/smileybutton/smileybutton.php b/smileybutton/smileybutton.php index 4aea34d8..2d4a0743 100644 --- a/smileybutton/smileybutton.php +++ b/smileybutton/smileybutton.php @@ -96,7 +96,7 @@ function show_button($a, &$b) { // Call hooks to get aditional smileies from other addons $params = ['texts' => $texts, 'icons' => $icons, 'string' => ""]; //changed - call_hooks('smilie', $params); + Addon::callHooks('smilie', $params); //Generate html for smiley list $s = "