Fix editor privilage issues

This commit is contained in:
2017-09-06 16:01:57 +07:00
parent 9296c7798e
commit 706b15d401
3 changed files with 3 additions and 3 deletions

View File

@@ -99,7 +99,7 @@
<br>
<button type="submit"
{% if (post.status == 0 and post.valid_at < timestamp or editor_now != creator.id) %}
{% if (post.status == 0 or editor_now != creator.id) %}
disabled
{% endif %}
>