forked from Cavemanon/cavepaintings
avoid double escapes
This commit is contained in:
@@ -46,6 +46,16 @@ function sql_escape($input) {
|
||||
return $database->db->Quote($input);
|
||||
}
|
||||
|
||||
/**
|
||||
* Some functions require a callback function for escaping,
|
||||
* but we might not want to alter the data
|
||||
*
|
||||
* @retval string
|
||||
*/
|
||||
function no_escape($input) {
|
||||
return $input;
|
||||
}
|
||||
|
||||
/**
|
||||
* Turn a human readable filesize into an integer, eg 1KB -> 1024
|
||||
*
|
||||
|
Reference in New Issue
Block a user