diff options
Diffstat (limited to 'includes/api/ApiSetNotificationTimestamp.php')
-rw-r--r-- | includes/api/ApiSetNotificationTimestamp.php | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/includes/api/ApiSetNotificationTimestamp.php b/includes/api/ApiSetNotificationTimestamp.php index 41c207bd9a36..c9ebfa88cc26 100644 --- 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() ) { |