[Pkg-owncloud-commits] [php-sabredav] 108/220: Saner type check
David Prévot
taffit at moszumanska.debian.org
Thu May 12 01:21:14 UTC 2016
This is an automated email from the git hooks/post-receive script.
taffit pushed a commit to branch master
in repository php-sabredav.
commit 17d00a0f070c744e33b347e09ccbd54fe9435b41
Author: Evert Pot <me at evertpot.com>
Date: Tue Mar 29 22:16:47 2016 -0400
Saner type check
---
lib/DAVACL/PrincipalBackend/PDO.php | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/lib/DAVACL/PrincipalBackend/PDO.php b/lib/DAVACL/PrincipalBackend/PDO.php
index 01b7a17..a491dc8 100644
--- a/lib/DAVACL/PrincipalBackend/PDO.php
+++ b/lib/DAVACL/PrincipalBackend/PDO.php
@@ -300,7 +300,7 @@ class PDO extends AbstractBackend implements CreatePrincipalSupport {
$value = null;
$scheme = null;
list($scheme, $value) = explode(":", $uri, 2);
- if ($value == null) return null;
+ if (empty($value)) return null;
$uri = null;
switch ($scheme){
--
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-php/php-sabredav.git
More information about the Pkg-owncloud-commits
mailing list