From b31ad507ec91103bf89d789ea55c0671b09f6708 Mon Sep 17 00:00:00 2001 From: Brad Shuttleworth Date: Tue, 28 Feb 2006 18:10:26 +0000 Subject: [PATCH] fix for browseable folder id-bug. --- lib/permissions/permissionutil.inc.php | 3 ++- plugins/browseabledashlet/templates/browseabledashlet/dashlet.smarty | 4 ++-- 2 files changed, 4 insertions(+), 3 deletions(-) diff --git a/lib/permissions/permissionutil.inc.php b/lib/permissions/permissionutil.inc.php index 057d296..10b16e9 100644 --- a/lib/permissions/permissionutil.inc.php +++ b/lib/permissions/permissionutil.inc.php @@ -224,6 +224,7 @@ class KTPermissionUtil { } } } + $oChannel =& KTPermissionChannel::getSingleton(); if (is_a($oFolderOrDocument, 'Folder')) { $msg = sprintf("Updating folder %s", join("/", $oFolderOrDocument->getPathArray())); @@ -235,7 +236,7 @@ class KTPermissionUtil { } } $oChannel->sendMessage(new KTPermissionGenericMessage($msg)); - + //var_dump($msg); $iPermissionObjectId = $oFolderOrDocument->getPermissionObjectID(); if (empty($iPermissionObjectId)) { return; diff --git a/plugins/browseabledashlet/templates/browseabledashlet/dashlet.smarty b/plugins/browseabledashlet/templates/browseabledashlet/dashlet.smarty index 2e5125e..ea3fccf 100644 --- a/plugins/browseabledashlet/templates/browseabledashlet/dashlet.smarty +++ b/plugins/browseabledashlet/templates/browseabledashlet/dashlet.smarty @@ -18,8 +18,8 @@ and they are are listed below.{/i18n}

{foreach from=$folders item=oFolder} {$oFolder->getName()} + class="contenttype folder">getId()}{/capture} + href="{ktLink base="browse.php" query="fFolderId=`$fid`"}">{$oFolder->getName()} {/foreach} -- libgit2 0.21.4