X-Git-Url: https://git.heureux-cyclage.org/?a=blobdiff_plain;f=includes%2Fapi%2FApiWatch.php;h=37d319f15178adab7161849a51cb965bc4df1ae5;hb=c6bdad7adfe19a92f80f83917fe4aa60eb21b820;hp=88aff4154ec191d285e7d7c90188ea1dc5aab841;hpb=1676448145f28cdf5bf399b13a39d909d7e0bb77;p=lhc%2Fweb%2Fwiklou.git 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; }