Index: branches/5.2.x/units/posts/post_tp.php =================================================================== diff -u -N -r15140 -r15155 --- branches/5.2.x/units/posts/post_tp.php (.../post_tp.php) (revision 15140) +++ branches/5.2.x/units/posts/post_tp.php (.../post_tp.php) (revision 15155) @@ -1,6 +1,6 @@ getObject($params); + $object = $this->getObject($params); $params['user_id'] = $object->GetDBField('CreatedById'); return $this->Application->ProcessParsedTag('m', 'Link', $params); @@ -47,7 +47,7 @@ { static $posters = null; - $object =& $this->getObject($params); + $object = $this->getObject($params); /* @var $object kDBItem */ $poster = $this->Application->recallObject('u.poster', null, Array('skip_autoload' => true)); @@ -84,7 +84,7 @@ */ function PosterFound($params) { - $object =& $this->getObject($params); + $object = $this->getObject($params); return $object->GetDBField('CreatedById') > 0; } @@ -99,7 +99,7 @@ { static $posts_count = null; - $object =& $this->getObject($params); + $object = $this->getObject($params); if (!isset($posts_count)) { $poster_ids = array_unique($object->GetCol('CreatedById')); @@ -115,7 +115,7 @@ function PostSubject($params) { - $object =& $this->getObject($params); + $object = $this->getObject($params); $post_helper = $this->Application->recallObject('PostHelper'); /* @var $post_helper PostHelper */ @@ -125,7 +125,7 @@ function PostBody($params) { - $object =& $this->getObject($params); + $object = $this->getObject($params); $post_helper = $this->Application->recallObject('PostHelper'); /* @var $post_helper PostHelper */ @@ -151,7 +151,7 @@ */ function ShowPostSignature($params) { - $object =& $this->getObject($params); + $object = $this->getObject($params); $post_options = $object->GetDBField('Options'); $post_helper = $this->Application->recallObject('PostHelper'); @@ -179,7 +179,7 @@ */ function PostSignature($params) { - $object =& $this->getObject($params); + $object = $this->getObject($params); $post_helper = $this->Application->recallObject('PostHelper'); /* @var $post_helper PostHelper */ @@ -203,7 +203,7 @@ { static $user_signatures = null; - $object =& $this->getObject(); + $object = $this->getObject(); if (!isset($user_signatures)) { $poster_ids = array_unique($object->GetCol('CreatedById')); @@ -233,7 +233,7 @@ function ReplyQuotedLink($params) { - $object =& $this->getObject($params); + $object = $this->getObject($params); $params['pass'] = 'm,bb'; $params['reply_to'] = $object->GetID(); @@ -262,7 +262,7 @@ /* @var $perm_helper kPermissionsHelper */ $params['raise_warnings'] = 0; - $object =& $this->getObject($params); + $object = $this->getObject($params); /* @var $object kDBItem */ // 1. category restriction @@ -299,7 +299,7 @@ */ function PageLink($params) { - $object =& $this->getObject($params); + $object = $this->getObject($params); /* @var kDBList */ $parent_info = $object->getLinkedInfo();