p() supports string as argument
This commit is contained in:
parent
bf672d7e51
commit
7138659080
1 changed files with 1 additions and 1 deletions
|
@ -30,7 +30,7 @@
|
|||
|
||||
/**
|
||||
* Prints a sanitized string
|
||||
* @param string|array $string the string which will be escaped and printed
|
||||
* @param string $string the string which will be escaped and printed
|
||||
*/
|
||||
function p($string) {
|
||||
print(OC_Util::sanitizeHTML($string));
|
||||
|
|
Loading…
Reference in a new issue