Index: trunk/extensions/MoodBar/FeedbackItem.php |
— | — | @@ -179,6 +179,8 @@ |
180 | 180 | return $value instanceof Title; |
181 | 181 | } elseif ( $key == 'type' ) { |
182 | 182 | return in_array( $value, self::$validTypes ); |
| 183 | + } elseif ( $key == 'comment' ) { |
| 184 | + return mb_strlen( $value ) <= 140; |
183 | 185 | } |
184 | 186 | |
185 | 187 | return true; |