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
Allow explicit & implicit null returns from hook handlers
[lhc/web/wiklou.git]
/
includes
/
IP.php
diff --git
a/includes/IP.php
b/includes/IP.php
index
0a8faa2
..
1e0a4f9
100644
(file)
--- a/
includes/IP.php
+++ b/
includes/IP.php
@@
-526,7
+526,7
@@
class IP {
if ( $bits == 0 ) {
$network = 0;
} else {
if ( $bits == 0 ) {
$network = 0;
} else {
- $network &= ~( ( 1 << ( 32 - $bits ) ) - 1);
+ $network &= ~( ( 1 << ( 32 - $bits ) ) - 1
);
}
# Convert to unsigned
if ( $network < 0 ) {
}
# Convert to unsigned
if ( $network < 0 ) {