Changeset 25676


Ignore:
Timestamp:
11/24/13 17:27:02 (6 years ago)
Author:
mistic100
Message:

Fatal error: Cannot pass parameter 1 by reference

File:
1 edited

Legend:

Unmodified
Added
Removed
  • extensions/UserCollections/include/UserCollection.class.php

    r25674 r25676  
    569569    $mail_css = file_get_contents(dirname(__FILE__).'/../template/mail.css'); 
    570570     
    571     $share_key = 'mail-' . substr(sha1($this->data['id'].$conf['secret_key']), 0, 11); 
     571    $share_key = array('share_key'=>'mail-' . substr(sha1($this->data['id'].$conf['secret_key']), 0, 11)); 
    572572     
    573573    $template->assign(array( 
     
    576576      'UC_MAIL_CSS' => str_replace("\n", null, $mail_css), 
    577577      'MAIL_TITLE' => $this->getParam('name').' ('.sprintf(l10n('by %s'), $params['sender_name']).')', 
    578       'COL_URL' => $this->addShare(array('share_key'=>$share_key), false), 
     578      'COL_URL' => $this->addShare($share_key, false), 
    579579      'PARAMS' => $params, 
    580580      'derivative_params' => ImageStdParams::get_by_type(IMG_SQUARE), 
Note: See TracChangeset for help on using the changeset viewer.