Index: branches/5.2.x/units/downloads/download_helper.php =================================================================== diff -u -N -r14723 -r15141 --- branches/5.2.x/units/downloads/download_helper.php (.../download_helper.php) (revision 14723) +++ branches/5.2.x/units/downloads/download_helper.php (.../download_helper.php) (revision 15141) @@ -1,6 +1,6 @@ Application->recallObject('file', null, Array('skip_autoload' => true)); + $file_object = $this->Application->recallObject('file', null, Array('skip_autoload' => true)); /* @var $file_object kDBItem */ $sql = $file_id ? @@ -57,9 +57,9 @@ function LogDownload($product_id, $file_info) { - $down_object =& $this->Application->recallObject('down', null, Array('skip_autoload' => true)); - $user_object =& $this->Application->recallObject('u.current'); - $product_object =& $this->Application->recallObject( 'p' ); + $down_object = $this->Application->recallObject('down', null, Array('skip_autoload' => true)); + $user_object = $this->Application->recallObject('u.current'); + $product_object = $this->Application->recallObject( 'p' ); $down_object->SetDBField('PortalUserId', $this->Application->RecallVar('user_id')); $down_object->SetDBField('Username', $user_object->GetDBField('Username'));