From: Brad Jorsch Date: Tue, 20 Dec 2016 19:34:15 +0000 (-0500) Subject: ApiWatch: Set 'missing' to true, not 1 X-Git-Tag: 1.31.0-rc.0~4501^2 X-Git-Url: http://git.cyclocoop.org/%22%20.%20generer_url_ecrire%28%22articles%22%2C%22id_article=%24ze_article%22%29%20.%20%22?a=commitdiff_plain;h=43f732ddcbdc3dcb16b8cf7fc33a2ce20fa68335;p=lhc%2Fweb%2Fwiklou.git ApiWatch: Set 'missing' to true, not 1 Bug: T153775 Change-Id: I2b45cc7f64623f10d86e37dd2cbf2516f78ae7e6 --- 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; }