This commit is contained in:
2025-05-05 10:57:21 +02:00
parent 4701329d25
commit b5c1053f8c
2 changed files with 3 additions and 3 deletions

View File

@ -135,8 +135,8 @@
<div class="mb-3">
<label class="form-label"><?= lang("Tickets.respuesta") ?></label>
<textarea id="respuestaMensaje" name="respuesta_mensaje" class="form-control"
<?php if (!in_array(auth()->user()->id, $supportUsers)){
echo "readonly";
<?php if (!in_array(auth()->user()->id, array_column($supportUsers, 'id'))) {
echo 'readonly';
} ?>
rows="4"><?= isset($respuesta) ? old('respuestaMensaje', $respuesta->mensaje) : "" ?></textarea>
</div>