Ignore:
Timestamp:
Oct 18, 2013, 2:32:22 PM (11 years ago)
Author:
plg
Message:

bug fixed: in case of guest and no default email for Piwecard, it was impossible to send any e-card.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • extensions/Piwecard/include/piwecard.class.php

    r22072 r24974  
    341341                                        if (isset($_POST['ecard_submit'])) {
    342342                                                // If conf doesn't allow to modify the %yourmail% param, force it to user mail
    343                                                 if (!$this->config['sender_email_change'])
     343                                                if (!$this->config['sender_email_change'] and isset($user['email']))
    344344                                                        $_POST['ecard_sender_email'] = $user['email'];
    345345                                               
Note: See TracChangeset for help on using the changeset viewer.