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:
parent
dcb93abc50
commit
664bd9a28a
6 changed files with 155 additions and 51 deletions
|
@ -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
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue