Fixed a bug (#3328) where the smiley helper might return an undefined variable.
diff --git a/system/helpers/smiley_helper.php b/system/helpers/smiley_helper.php
index f414947..25962eb 100644
--- a/system/helpers/smiley_helper.php
+++ b/system/helpers/smiley_helper.php
@@ -71,7 +71,7 @@
 		{

 			if (FALSE === ($smileys = _get_smiley_array()))

 			{

-				return $str;

+				return $smileys;

 			}        

 		}