1
0
Fork 0
mirror of https://github.com/Yetangitu/ampache synced 2025-10-05 19:41:55 +02:00

I am not proud... but it works

This commit is contained in:
Karl 'vollmerk' Vollmer 2006-03-27 07:59:33 +00:00
parent dcb93abc50
commit 664bd9a28a
6 changed files with 155 additions and 51 deletions

View file

@ -807,6 +807,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