Index: trunk/extensions/MoodBar/FeedbackItem.php |
— | — | @@ -193,7 +193,8 @@ |
194 | 194 | } elseif ( $key == 'type' ) { |
195 | 195 | return in_array( $value, self::$validTypes ); |
196 | 196 | } elseif ( $key == 'comment' ) { |
197 | | - return mb_strlen( $value ) <= 140; |
| 197 | + $comment_len = mb_strlen( $value ); |
| 198 | + return $comment_len > 0 && $comment_len <= 140; |
198 | 199 | } |
199 | 200 | |
200 | 201 | return true; |