Added new function to tidy up for bootgrid output

This commit is contained in:
laf
2015-04-13 15:32:39 +01:00
parent 2b6cddec2e
commit fa52fdc986
2 changed files with 22 additions and 10 deletions

View File

@@ -744,4 +744,12 @@ function shorten_interface_type($string) {
);
}
function clean_bootgrid($string) {
$output = str_replace(array("\r","\n"), "", $string);
$output = addslashes($output);
return $output;
}
?>