[Pkg-owncloud-commits] [php-sabredav] 02/80: use LOWER instead of LCASE (MySQL, PGSQL, SQLite compatibility)
David Prévot
taffit at moszumanska.debian.org
Thu Jan 7 02:56:12 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 ea894c85e419cc3eb0246debda126e5379789de3
Author: vmire <vincent_257 at mireau.com>
Date: Tue Jul 14 16:25:38 2015 +0200
use LOWER instead of LCASE (MySQL,PGSQL,SQLite compatibility)
---
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 6fced14..e16e6c3 100644
--- a/lib/DAVACL/PrincipalBackend/PDO.php
+++ b/lib/DAVACL/PrincipalBackend/PDO.php
@@ -252,7 +252,7 @@ class PDO extends AbstractBackend implements CreatePrincipalSupport {
$values[] = '%' . $value . '%';
break;
case '{http://sabredav.org/ns}email-address' :
- $query .= ' AND lcase(email) = lcase(?)';
+ $query .= ' AND lower(email) = lower(?)';
$values[] = $value;
break;
default :
--
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