X-Git-Url: https://git.cyclocoop.org/%27.WWW_URL.%27admin/?a=blobdiff_plain;f=includes%2Fapi%2FApiSetNotificationTimestamp.php;h=3412f38ed3c2dc797426f1d36738b6a3a0f60ae2;hb=1f83b424294a6fd78cb73cf43db3464ca7481774;hp=f3356821ef226fd82b03b1d00721f67dfed62fcd;hpb=cdc53ad15b8131e1b4254cc788efa318a35fd804;p=lhc%2Fweb%2Fwiklou.git diff --git a/includes/api/ApiSetNotificationTimestamp.php b/includes/api/ApiSetNotificationTimestamp.php index f3356821ef..3412f38ed3 100644 --- a/includes/api/ApiSetNotificationTimestamp.php +++ b/includes/api/ApiSetNotificationTimestamp.php @@ -158,6 +158,9 @@ class ApiSetNotificationTimestamp extends ApiBase { ]; if ( !$title->exists() ) { $r['missing'] = true; + if ( $title->isKnown() ) { + $r['known'] = true; + } } if ( isset( $timestamps[$ns] ) && array_key_exists( $dbkey, $timestamps[$ns] ) ) { $r['notificationtimestamp'] = '';