dépôts
/
lhc
/
web
/
wiklou.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Merge "Add support for PHP7 random_bytes in favor of mcrypt_create_iv"
[lhc/web/wiklou.git]
/
includes
/
api
/
ApiQueryCategoryMembers.php
diff --git
a/includes/api/ApiQueryCategoryMembers.php
b/includes/api/ApiQueryCategoryMembers.php
index
02961aa
..
3a8847c
100644
(file)
--- a/
includes/api/ApiQueryCategoryMembers.php
+++ b/
includes/api/ApiQueryCategoryMembers.php
@@
-53,7
+53,7
@@
class ApiQueryCategoryMembers extends ApiQueryGeneratorBase {
*/
private function validateHexSortkey( $hexSortkey ) {
// A hex sortkey has an unbound number of 2 letter pairs
*/
private function validateHexSortkey( $hexSortkey ) {
// A hex sortkey has an unbound number of 2 letter pairs
- return preg_match( '/^(?:[a-fA-F0-9]{2})*$/D', $hexSortkey );
+ return
(bool)
preg_match( '/^(?:[a-fA-F0-9]{2})*$/D', $hexSortkey );
}
/**
}
/**