use p() for the output and not for the comparison
fix p() call
Merge pull request #2069 from owncloud/fix_sanitize_call

use p() for the output and not for the comparison