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 "Preferences: Remove href="#" from stub threshold sample link"
[lhc/web/wiklou.git]
/
includes
/
api
/
ApiSetNotificationTimestamp.php
diff --git
a/includes/api/ApiSetNotificationTimestamp.php
b/includes/api/ApiSetNotificationTimestamp.php
index
41c207b
..
c9ebfa8
100644
(file)
--- a/
includes/api/ApiSetNotificationTimestamp.php
+++ b/
includes/api/ApiSetNotificationTimestamp.php
@@
-161,7
+161,7
@@
class ApiSetNotificationTimestamp extends ApiBase {
$ns = $title->getNamespace();
$dbkey = $title->getDBkey();
$r = [
- 'ns' =>
intval( $ns )
,
+ 'ns' =>
(int)$ns
,
'title' => $title->getPrefixedText(),
];
if ( !$title->exists() ) {