diff --git a/application/helpers/MY_html.php b/application/helpers/MY_html.php
index 4b22400bf0..6f5ec78aaf 100644
--- a/application/helpers/MY_html.php
+++ b/application/helpers/MY_html.php
@@ -98,7 +98,7 @@ public function allowed_html()
* @param bool $double_encode
* @return string
*/
- public function escape($input, $double_encode = FALSE)
+ public static function escape($input, $double_encode = FALSE)
{
// Ensure we have valid correctly encoded string..
// http://stackoverflow.com/questions/1412239/why-call-mb-convert-encoding-to-sanitize-text