From f9abd1f95422fc7e0210b14c41e31021cf837990 Mon Sep 17 00:00:00 2001
From: Peter Rotich <peter@osticket.com>
Date: Sat, 23 Feb 2013 13:29:40 -0500
Subject: [PATCH] Fix method name typo

---
 include/class.format.php | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/include/class.format.php b/include/class.format.php
index 220f20742..1ec32b733 100644
--- a/include/class.format.php
+++ b/include/class.format.php
@@ -68,7 +68,7 @@ class Format {
 
     //Wrapper for utf-8 encoding.
     function utf8encode($text, $charset=null) {
-        return Format::enecode($text, $charset, 'utf-8');
+        return Format::encode($text, $charset, 'utf-8');
     }
 
 	function phone($phone) {
-- 
GitLab