Ignore:
Timestamp:
Nov 24, 2013, 5:27:02 PM (11 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.