[Pkg-owncloud-commits] [php-sabredav] 17/42: Incorrectly testing UUIDUtil.

David Prévot taffit at moszumanska.debian.org
Wed Oct 29 20:52:05 UTC 2014


This is an automated email from the git hooks/post-receive script.

taffit pushed a commit to branch master
in repository php-sabredav.

commit 472438b53f5a9bbe4c0f29af2f675911386b1afb
Author: Evert Pot <evert at rooftopsolutions.nl>
Date:   Mon Oct 6 19:29:01 2014 -0400

    Incorrectly testing UUIDUtil.
---
 lib/DAV/UUIDUtil.php | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/lib/DAV/UUIDUtil.php b/lib/DAV/UUIDUtil.php
index 43b75e9..b06d6ce 100644
--- a/lib/DAV/UUIDUtil.php
+++ b/lib/DAV/UUIDUtil.php
@@ -57,7 +57,7 @@ class UUIDUtil {
         return preg_match(
             '/^[a-f0-9]{8}-[a-f0-9]{4}-[a-f0-9]{4}-[a-f0-9]{4}-[a-f0-9]{12}$/i',
             $uuid
-        ) !== false;
+        ) !== 0;
 
     }
 

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-owncloud/php-sabredav.git



More information about the Pkg-owncloud-commits mailing list