Index: trunk/extensions/SemanticWatchlist/api/ApiQuerySemanticWatchlist.php |
— | — | @@ -52,12 +52,7 @@ |
53 | 53 | $this->mergeSets( $resultSets ); |
54 | 54 | } |
55 | 55 | |
56 | | - //$this->getResult()->setIndexedTagName( $resultSets, 'set' ); |
57 | | - |
58 | 56 | foreach ( $resultSets as &$set ) { |
59 | | - if ( !is_object( $set )) { |
60 | | - var_dump($set);exit; |
61 | | - } |
62 | 57 | $set = $set->toArray(); |
63 | 58 | |
64 | 59 | foreach ( $set['changes'] as $propName => $changes ) { |
— | — | @@ -65,6 +60,8 @@ |
66 | 61 | } |
67 | 62 | } |
68 | 63 | |
| 64 | + $this->getResult()->setIndexedTagName( $resultSets, 'set' ); |
| 65 | + |
69 | 66 | $this->getResult()->addValue( |
70 | 67 | null, |
71 | 68 | 'sets', |