1
0
Fork 0
mirror of https://github.com/Oreolek/ifhub.club.git synced 2024-06-16 14:50:48 +03:00

Fix add talk

This commit is contained in:
Denis Shakhov 2017-02-02 20:38:52 +07:00
parent 4a668b35e7
commit 43959e6ccf

View file

@ -11,9 +11,9 @@
{* Получатели *}
{component 'user' template='choose'
items = ($recepient) ? [[ 'text' => $recepient->getLogin(), 'value' => $recepient->getId() ]] : false
items = ($recepient) ? [[ 'text' => $recepient->getLogin(), 'value' => $recepient->getId() ]] : false
selectedValue = ($recepient) ? $recepient->getId() : false
form = ($_aRequest['talk_recepient_id']) ? false : $_aRequest
form = ($recepient) ? false : $_aRequest
name = 'talk_users[]'
rules = [ 'required' => true ]
classes = 'js-talk-add-user-choose'