Checkout vs edit

9 года 9 мес. назад #636 от Roman
Roman создал тему: Checkout vs edit
Hi,
In a single view
if user once push edit button (checkout item)
and don't save/cancel
this user have no edit button anymore, so user can't checkin.
if($canEdit && $this->item->checked_out == 0):
if recplace to 
$UserId = JFactory::getUser()->id;
if($canEdit && ($this->item->checked_out == 0 ||$this->item->checked_out == $UserId)):
checkedOut user able to finish the job:)

Пожалуйста Войти или Регистрация, чтобы присоединиться к беседе.

Время создания страницы: 0.046 секунд
Работает на Kunena форум

We use cookies so that you can place orders and we can provide a better service. You can control the use of cookies at the individual browser level. If you reject cookies, you may still use our website, but your ability to use some features or areas of our website may be limited.