X-Git-Url: http://git.cyclocoop.org/?a=blobdiff_plain;f=includes%2FWatchedItemQueryService.php;h=22d5439c06ebf959af430466b52163379bed980b;hb=0be08c438f92095fbdcb45b870615c4e7eef4e01;hp=ba7707411a87f5f4f1fc970ff3587a4f07249e96;hpb=4d609f015dd64528e772bbaa088d378aa26334eb;p=lhc%2Fweb%2Fwiklou.git diff --git a/includes/WatchedItemQueryService.php b/includes/WatchedItemQueryService.php index ba7707411a..22d5439c06 100644 --- a/includes/WatchedItemQueryService.php +++ b/includes/WatchedItemQueryService.php @@ -390,7 +390,7 @@ class WatchedItemQueryService { } if ( array_key_exists( 'rcTypes', $options ) ) { - $conds['rc_type'] = array_map( 'intval', $options['rcTypes'] ); + $conds['rc_type'] = array_map( 'intval', $options['rcTypes'] ); } $conds = array_merge( @@ -565,7 +565,7 @@ class WatchedItemQueryService { } if ( isset( $options['filter'] ) ) { $filter = $options['filter']; - if ( $filter === self::FILTER_CHANGED ) { + if ( $filter === self::FILTER_CHANGED ) { $conds[] = 'wl_notificationtimestamp IS NOT NULL'; } else { $conds[] = 'wl_notificationtimestamp IS NULL';