Fixes for permission errors introduced by the table permission changes.

This commit is contained in:
Chris Morgan
2007-09-18 22:09:57 -04:00
parent 5c91961d12
commit e82dc74162
2 changed files with 9 additions and 4 deletions

View File

@@ -159,13 +159,13 @@ class ObjectManager
// if there is no class set for a given row use the
// default one in $sColor
if(!$this->oTableRow->oTableRow->GetClass())
if(!$this->oTableRow->GetTableRow()->GetClass())
{
$this->oTableRow->oTableRow->SetClass($sColor);
$this->oTableRow->GetTableRow()->SetClass($sColor);
}
// if this row is clickable, make it highlight appropirately
$oTableRowClick = $this->oTableRow->oTableRow->GetTableRowClick();
$oTableRowClick = $this->oTableRow->GetTableRow()->GetTableRowClick();
if($oTableRowClick)
{
$oTableRowHighlight = GetStandardRowHighlight($iCount);
@@ -178,7 +178,7 @@ class ObjectManager
if($oObject->canEdit())
{
$shDeleteLink = "";
if($this->oTableRow->bHasDeleteLink)
if($this->oTableRow->GetHasDeleteLink())
{
$shDeleteLink = ' [&nbsp;<a href="'.$this->makeUrl("delete", $oObject->objectGetId()).
'">delete</a>&nbsp;]';