Index: branches/5.2.x/core/units/content/content_eh.php =================================================================== diff -u -N -r15130 -r15137 --- branches/5.2.x/core/units/content/content_eh.php (.../content_eh.php) (revision 15130) +++ branches/5.2.x/core/units/content/content_eh.php (.../content_eh.php) (revision 15137) @@ -1,6 +1,6 @@ Application->recallObject('PermissionsHelper'); + $perm_helper = $this->Application->recallObject('PermissionsHelper'); /* @var $perm_helper kPermissionsHelper */ $user_id = $this->Application->RecallVar('user_id'); @@ -104,7 +104,7 @@ if ( $is_draft ) { if ( $updated ) { - $page_helper =& $this->Application->recallObject('PageHelper'); + $page_helper = $this->Application->recallObject('PageHelper'); /* @var $page_helper PageHelper */ return $revision->GetField('AutoSavedOn') . ' (' . $page_helper->getAgoTime( $revision->GetDBField('AutoSavedOn') ) . ')'; @@ -133,7 +133,7 @@ list ($object, $revision) = $this->getContentBlockAndRevision($event); /* @var $revision kDBItem */ - $page_helper =& $this->Application->recallObject('PageHelper'); + $page_helper = $this->Application->recallObject('PageHelper'); /* @var $page_helper PageHelper */ $time = $revision->GetField('AutoSavedOn'); @@ -173,7 +173,7 @@ list ($id, $field_values) = each($items_info); $object->Load($id); - $revision =& $this->Application->recallObject('page-revision', null, Array ('skip_autoload' => true)); + $revision = $this->Application->recallObject('page-revision', null, Array ('skip_autoload' => true)); /* @var $revision kDBItem */ $revision->Load( $object->GetDBField('RevisionId') );