Add a couple of comments and braces

This commit is contained in:
Chris Morgan
2007-06-11 04:06:06 +00:00
committed by WineHQ
parent e16df1cad3
commit 59ed94fc54

View File

@@ -462,11 +462,15 @@ class distribution {
"<a href=\"$this->sUrl\">$this->sUrl</a>",
array(sizeof($this->aTestingIds), "align=\"right\""));
// add actions if the current user has permission to edit this object
if($this->canEdit())
{
// enable the 'delete' action if this distribution has no testing results
if(!sizeof($this->aTestingIds))
{
$shDeleteLink = " &nbsp; [<a href='".$oManager->makeUrl("delete",
$this->iDistributionId)."'>delete</a>]";
}
$aCells[] = array(
"[<a href='".$oManager->makeUrl("edit",