From 43f732ddcbdc3dcb16b8cf7fc33a2ce20fa68335 Mon Sep 17 00:00:00 2001 From: Brad Jorsch Date: Tue, 20 Dec 2016 14:34:15 -0500 Subject: [PATCH] ApiWatch: Set 'missing' to true, not 1 Bug: T153775 Change-Id: I2b45cc7f64623f10d86e37dd2cbf2516f78ae7e6 --- includes/api/ApiWatch.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/includes/api/ApiWatch.php b/includes/api/ApiWatch.php index 88aff4154e..37d319f151 100644 --- a/includes/api/ApiWatch.php +++ b/includes/api/ApiWatch.php @@ -60,7 +60,7 @@ class ApiWatch extends ApiBase { foreach ( $pageSet->getMissingTitles() as $title ) { $r = $this->watchTitle( $title, $user, $params ); - $r['missing'] = 1; + $r['missing'] = true; $res[] = $r; } -- 2.20.1