show media input on discussion only if mms is enabled
This commit is contained in:
parent
7c85753bfa
commit
f992fe21bc
|
@ -42,7 +42,9 @@
|
|||
<?php if ($response_phone ) { ?>
|
||||
<input type="hidden" name="id_phone" value="<?php $this->s($response_phone['id']); ?>" />
|
||||
<?php } ?>
|
||||
<input name="medias[]" type="file" multiple />
|
||||
<?php if ($_SESSION['user']['settings']['mms'] ?? false) { ?>
|
||||
<input name="medias[]" type="file" multiple />
|
||||
<?php } ?>
|
||||
<button class="btn" ><span class="fa fa-fw fa-send-o"></span> Envoyer</button>
|
||||
</form>
|
||||
</div>
|
||||
|
|
Loading…
Reference in New Issue