Permalink
Browse files

minor corrections to TaggedObjectMeta

  • Loading branch information...
1 parent 9acff7e commit 35c7f740d05062cb1219eeaf1974cb7ce1302f4b @craigh craigh committed Mar 31, 2012
Showing with 1 addition and 2 deletions.
  1. +1 −2 src/modules/Clip/lib/Clip/TaggedObjectMeta/Clip.php
@@ -19,7 +19,7 @@ class Clip_TaggedObjectMeta_Clip extends Tag_AbstractTaggedObjectMeta
{
function __construct($objectId, $areaId, $module, $urlString = null, Zikula_ModUrl $urlObject = null)
{
- parent::__construct($objectId, $areaId, $module, $objectUrl, $urlObject);
+ parent::__construct($objectId, $areaId, $module, $urlString, $urlObject);
if (!$urlObject instanceof Clip_Url) {
return;
@@ -49,7 +49,6 @@ function __construct($objectId, $areaId, $module, $urlString = null, Zikula_ModU
$this->setObjectTitle($pubdata['core_title']);
$this->setObjectDate($pubdata['core_publishdate']);
$this->setObjectAuthor($pubdata['core_author']);
- $this->setObjectUrl(ModUtil::url('Clip', 'user', 'display', array('tid' => $tid, 'pid' => $pid)));
}
}

0 comments on commit 35c7f74

Please sign in to comment.