Commit f621f69d83ca72d60ad2d15019dbace4abd15ac3

Authored by Conrad Vermeulen
1 parent d5da7c8a

"KTS-2012"

"TagCloug refers to metadata field incorrectly"
Fixed.

Reviewed By: Jalaloedien Abrahams

git-svn-id: https://kt-dms.svn.sourceforge.net/svnroot/kt-dms/trunk@6669 c91229c3-7414-0410-bfa2-8a42b809f60b
plugins/tagcloud/TagCloudPlugin.php
@@ -223,7 +223,7 @@ class KTAddDocumentTrigger { @@ -223,7 +223,7 @@ class KTAddDocumentTrigger {
223 $tagString = ''; 223 $tagString = '';
224 // add tags 224 // add tags
225 if ($sTags) { 225 if ($sTags) {
226 - foreach($aMeta[metadata] as $aMetaData){ 226 + foreach($aMeta['metadata'] as $aMetaData){
227 $oProxy = $aMetaData[0]; 227 $oProxy = $aMetaData[0];
228 if($oProxy->iId == $sTags){ 228 if($oProxy->iId == $sTags){
229 $tagString = $aMetaData[1]; 229 $tagString = $aMetaData[1];