Checkout vs edit

9 år 9 månader sedan #636 av Roman
Checkout vs edit skapades av Roman
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:)

Be Logga in eller Skapa ett konto ansluta till konversationen.

Sidan laddades på: 0.045 sekunder
Powered by Kunena Forum

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.