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 "block: Avoid use of empty() which doesn't warn on var non-existence"
[lhc/web/wiklou.git]
/
includes
/
block
/
BlockRestriction.php
diff --git
a/includes/block/BlockRestriction.php
b/includes/block/BlockRestriction.php
index
c5ab16f
..
b92cda8
100644
(file)
--- a/
includes/block/BlockRestriction.php
+++ b/
includes/block/BlockRestriction.php
@@
-91,12
+91,14
@@
class BlockRestriction {
$dbw = wfGetDB( DB_MASTER );
-
return
$dbw->insert(
+ $dbw->insert(
'ipblocks_restrictions',
$rows,
__METHOD__,
[ 'IGNORE' ]
);
+
+ return true;
}
/**