From 0975bcc8d56392af3d07f1e2af941b727d6dc389 Mon Sep 17 00:00:00 2001 From: Derek Allard Date: Tue, 29 Jan 2008 17:21:27 +0000 Subject: Fixed a bug (#3328) where the smiley helper might return an undefined variable. --- system/helpers/smiley_helper.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'system/helpers/smiley_helper.php') diff --git a/system/helpers/smiley_helper.php b/system/helpers/smiley_helper.php index f4149478c..25962eb54 100644 --- a/system/helpers/smiley_helper.php +++ b/system/helpers/smiley_helper.php @@ -71,7 +71,7 @@ if (! function_exists('get_clickable_smileys')) { if (FALSE === ($smileys = _get_smiley_array())) { - return $str; + return $smileys; } } -- cgit v1.2.3-24-g4f1b