diff options
author | Thomas Müller <thomas.mueller@tmit.eu> | 2015-12-08 11:04:25 +0100 |
---|---|---|
committer | Thomas Müller <thomas.mueller@tmit.eu> | 2015-12-08 11:04:25 +0100 |
commit | fe8dc0bd5e867831a70251fb8604e1a397f2901b (patch) | |
tree | ce924a7349275ca64f124a83ca42a7112b75b18a /settings | |
parent | c88438790cbaa3510c8dc8a251e241164da6c93f (diff) | |
parent | 6d3eb7673d1671a9e1f8437388f344a90e3d71dd (diff) | |
download | nextcloud-server-fe8dc0bd5e867831a70251fb8604e1a397f2901b.tar.gz nextcloud-server-fe8dc0bd5e867831a70251fb8604e1a397f2901b.zip |
Merge pull request #21022 from owncloud/get-rid-of-by-reference
Get rid of by reference
Diffstat (limited to 'settings')
-rw-r--r-- | settings/templates/admin.php | 2 | ||||
-rw-r--r-- | settings/templates/personal.php | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/settings/templates/admin.php b/settings/templates/admin.php index 0721c0e0afb..f3de51a23c3 100644 --- a/settings/templates/admin.php +++ b/settings/templates/admin.php @@ -56,7 +56,7 @@ if ($_['mail_smtpmode'] == 'qmail') { if (isset($form['anchor'])) { $anchor = '#' . $form['anchor']; $sectionName = $form['section-name']; - print_unescaped(sprintf("<li><a href='%s'>%s</a></li>", OC_Util::sanitizeHTML($anchor), OC_Util::sanitizeHTML($sectionName))); + print_unescaped(sprintf("<li><a href='%s'>%s</a></li>", \OCP\Util::sanitizeHTML($anchor), \OCP\Util::sanitizeHTML($sectionName))); } }?> </ul> diff --git a/settings/templates/personal.php b/settings/templates/personal.php index 0eba71d77d1..09194ea3e39 100644 --- a/settings/templates/personal.php +++ b/settings/templates/personal.php @@ -14,7 +14,7 @@ if (isset($form['anchor'])) { $anchor = '#' . $form['anchor']; $sectionName = $form['section-name']; - print_unescaped(sprintf("<li><a href='%s'>%s</a></li>", OC_Util::sanitizeHTML($anchor), OC_Util::sanitizeHTML($sectionName))); + print_unescaped(sprintf("<li><a href='%s'>%s</a></li>", \OCP\Util::sanitizeHTML($anchor), \OCP\Util::sanitizeHTML($sectionName))); } }?> </ul> |