mirror of
https://github.com/discourse/discourse.git
synced 2025-01-19 05:52:49 +08:00
395654bf24
v1.2.0beta9 has introduced a regression in edit of a private topic (first post). Previously a check for no change in TopicsController was made but it has been changed without considering that the topic could be private. By simply forcing a conversion of `topic.category_id` to integer, the case where its value is nil is handled correctly as it was previously. |
||
---|---|---|
.. | ||
components | ||
controllers | ||
fabricators | ||
fixtures | ||
helpers | ||
integration | ||
integrity | ||
jobs | ||
mailers | ||
models | ||
phantom_js | ||
serializers | ||
services | ||
support | ||
views/omniauth_callbacks | ||
spec_helper.rb |