[Pkg-owncloud-commits] [owncloud] 50/104: trimming all array elements
David Prévot
taffit at moszumanska.debian.org
Sat Jan 18 13:33:39 UTC 2014
This is an automated email from the git hooks/post-receive script.
taffit pushed a commit to branch master
in repository owncloud.
commit bbba8fd09d913682516390055468f421e3a2078f
Author: Thomas Müller <thomas.mueller at tmit.eu>
Date: Tue Jan 7 19:47:01 2014 +0100
trimming all array elements
---
lib/private/helper.php | 4 +++-
1 file changed, 3 insertions(+), 1 deletion(-)
diff --git a/lib/private/helper.php b/lib/private/helper.php
index 73f953a..4e5b453 100644
--- a/lib/private/helper.php
+++ b/lib/private/helper.php
@@ -859,10 +859,12 @@ class OC_Helper {
return false;
}
$disabled = explode(',', ini_get('disable_functions'));
+ $disabled = array_map('trim', $disabled);
if (in_array($function_name, $disabled)) {
return false;
}
- $disabled = explode(', ', ini_get('suhosin.executor.func.blacklist'));
+ $disabled = explode(',', ini_get('suhosin.executor.func.blacklist'));
+ $disabled = array_map('trim', $disabled);
if (in_array($function_name, $disabled)) {
return false;
}
--
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-owncloud/owncloud.git
More information about the Pkg-owncloud-commits
mailing list