diff options
author | Karl 'vollmerk' Vollmer <vollmer@ampache.org> | 2006-03-27 07:59:33 +0000 |
---|---|---|
committer | Karl 'vollmerk' Vollmer <vollmer@ampache.org> | 2006-03-27 07:59:33 +0000 |
commit | 664bd9a28aa10eedee3deb82cda9b99b91b51fa0 (patch) | |
tree | 7ab60c5a038ccde3aa24f9fa18fd71bc6a2b515b /lib/general.lib.php | |
parent | dcb93abc50ddea7da48f104ad3b861dee342d623 (diff) | |
download | ampache-664bd9a28aa10eedee3deb82cda9b99b91b51fa0.tar.gz ampache-664bd9a28aa10eedee3deb82cda9b99b91b51fa0.tar.bz2 ampache-664bd9a28aa10eedee3deb82cda9b99b91b51fa0.zip |
I am not proud... but it works
Diffstat (limited to 'lib/general.lib.php')
-rw-r--r-- | lib/general.lib.php | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/lib/general.lib.php b/lib/general.lib.php index fde2f01c..c8df6183 100644 --- a/lib/general.lib.php +++ b/lib/general.lib.php @@ -808,6 +808,18 @@ function scrub_out($str) { } // scrub_out /** + * revert_string + * This returns a scrubed string to it's most normal state + * Uhh yea better way to do this please? + */ +function revert_string($string) { + + $string = unhtmlentities($string,ENT_QUOTES,conf('site_charset')); + return $string; + +} // revert_string + +/** * make_bool * This takes a value and returns what I consider to be the correct boolean value * This is used instead of settype alone because settype considers 0 and "false" to |