p() supports string as argument

This commit is contained in:
Morris Jobke 2015-11-23 12:11:23 +01:00
parent bf672d7e51
commit 7138659080

View file

@ -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));