| @@ -329,8 +329,12 @@ | ||
| 329 | 329 | $id = isset( $row['id'] ) ? (int) $row['id'] : 0; |
| 330 | 330 | if ( isset( $stats[ $id ] ) ) { |
| 331 | 331 | $list['items'][ $i ]['openstation_user_stats'] = $stats[ $id ]; |
| 332 | 332 | } |
| 333 | + // Core's row carries the name as stored (`&`); the view paints text. | |
| 334 | + if ( isset( $row['name'] ) ) { | |
| 335 | + $list['items'][ $i ]['name'] = openstation_plain_text_title( $row['name'] ); | |
| 336 | + } | |
| 333 | 337 | } |
| 334 | 338 | return array( 'list' => $list ); |
| 335 | 339 | } |
| 336 | 340 | ); |