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
(bug 20275) Fixed LIKE queries on SQLite backend
[lhc/web/wiklou.git]
/
includes
/
Block.php
diff --git
a/includes/Block.php
b/includes/Block.php
index
7aa3065
..
0246908
100644
(file)
--- a/
includes/Block.php
+++ b/
includes/Block.php
@@
-286,7
+286,7
@@
class Block {
$options = array();
$db =& $this->getDBOptions( $options );
$conds = array(
-
"ipb_range_start LIKE '$range%'"
,
+
'ipb_range_start' . $db->buildLike( $range, $db->anyString() )
,
"ipb_range_start <= '$iaddr'",
"ipb_range_end >= '$iaddr'"
);