After upgrade Old layouts will not allow any user to edit the duration
Bug #1115648 reported by
Dan Garner
This bug affects 1 person
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Xibo |
Fix Released
|
Medium
|
Dan Garner |
Bug Description
The group admin can update everything except the duration field(s). If I change them to a super admin, then they can update the duration field(s).
This same admin can update the duration fields in the "media" objects in the media menu.
Related branches
lp:~dangarner/xibo/server-142
(Merged)
Changed in xibo: | |
status: | Triaged → Fix Committed |
Changed in xibo: | |
status: | Fix Committed → Fix Released |
To post a comment you must log in.
line #188 of module.class.php
// If the userId is blank, then set it to be the layout user id >originalUserId = $mediaNode- >getAttribute( 'userId' ))
$this- >originalUserId = $db->GetSingleV alue(sprintf( "SELECT userid FROM layout WHERE layoutid = %d", $this->layoutid), 'userid', _INT);
if (!$this-