Fix testData::create() permissions. Separate the cases where a user has edit rights from
when he has the right to unqueue items
This commit is contained in:
committed by
WineHQ
parent
2a58cf59af
commit
c43563eca6
@@ -361,7 +361,12 @@ class ObjectManager
|
||||
function getIdFromInput($aClean)
|
||||
{
|
||||
$sId = "i".ucfirst($this->sClass)."Id";
|
||||
return $aClean[$sId];
|
||||
$iId = $aClean['sId'];
|
||||
|
||||
if(!$iId)
|
||||
$iId = $aClean['iId'];
|
||||
|
||||
return $iId;
|
||||
}
|
||||
|
||||
/* Output headers for a table */
|
||||
|
||||
Reference in New Issue
Block a user