Wall: Fix invalid reference to $club in TextArea

This commit is contained in:
Celestora 2021-10-13 21:31:41 +03:00
parent a75a4dd8b2
commit cdbe0f906b

View file

@ -9,7 +9,8 @@
Вложение: <span>(unknown)</span>
</div>
<div n:if="$postOpts ?? true" class="post-opts">
{if !is_null($thisUser) && !is_null($club) && $owner < 0 && $club->canBeModifiedBy($thisUser)}
{if !is_null($thisUser) && !is_null($club) && $owner < 0}
{if $club->canBeModifiedBy($thisUser)}
<script>
function onWallAsGroupClick(el) {
_display = el.checked ? "block" : "none";
@ -24,6 +25,7 @@
<input type="checkbox" name="force_sign" /> {_"add_signature"}
</label>
{/if}
{/if}
<label>
<input type="checkbox" name="nsfw" /> {_"contains_nsfw"}