From f0bafc498758062f317b5ca7473e8bd594b8635c Mon Sep 17 00:00:00 2001 From: jengo Date: Thu, 8 Feb 2001 21:27:23 +0000 Subject: [PATCH] Added missing function strip_html() --- phpgwapi/inc/class.phpgw.inc.php | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/phpgwapi/inc/class.phpgw.inc.php b/phpgwapi/inc/class.phpgw.inc.php index 64602f9518..fdcfd0c223 100644 --- a/phpgwapi/inc/class.phpgw.inc.php +++ b/phpgwapi/inc/class.phpgw.inc.php @@ -87,6 +87,10 @@ /**************************************************************************\ * Core functions * \**************************************************************************/ + function strip_html($s) + { + return htmlspecialchars(stripslashes($s)); + } /* Wrapper to the session->link() */ function link($url = "", $extravars = "")