Index: trunk/extensions/PageTriage/includes/ArticleMetadata.php |
— | — | @@ -165,7 +165,9 @@ |
166 | 166 | } |
167 | 167 | } |
168 | 168 | |
169 | | - foreach ( $pageData as $pageId => $val ) { |
| 169 | + $defaultVal = array_fill_keys( array_keys( self::getValidTags() ), '' ); |
| 170 | + foreach ( $pageData as $pageId => &$val ) { |
| 171 | + $val += $defaultVal; |
170 | 172 | $this->setMetadataToCache( $pageId, $val ); |
171 | 173 | } |
172 | 174 | |