Index: branches/wmf/1.17wmf1/extensions/CommunityVoice/Modules/Ratings.php |
— | — | @@ -25,7 +25,7 @@ |
26 | 26 | ); |
27 | 27 | $categories = array(); |
28 | 28 | foreach( $result as $row ) { |
29 | | - $categories[] = (string)$row['vot_category']; |
| 29 | + $categories[] = $row->vot_category; |
30 | 30 | } |
31 | 31 | return $categories; |
32 | 32 | } |
— | — | @@ -41,7 +41,7 @@ |
42 | 42 | ); |
43 | 43 | $titles = array(); |
44 | 44 | foreach ( $result as $row ) { |
45 | | - $titles[] = (string)$row['vot_title']; |
| 45 | + $titles[] = $row->vot_title; |
46 | 46 | } |
47 | 47 | return $titles; |
48 | 48 | } |