Ignore:
Timestamp:
Jul 1, 2009 12:07:26 PM (4 years ago)
Author:
thomasb
Message:

Also save signature field when creating a new identity at login

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/roundcubemail/program/include/rcube_user.php

    r2691 r2692  
    422422            'email' => $email, 
    423423            'standard' => $standard, 
     424            'signature' => '', 
    424425          ), 
    425426        )); 
     
    428429          $dbh->query( 
    429430              "INSERT INTO ".get_table_name('identities')." 
    430                 (user_id, del, standard, name, email) 
    431                VALUES (?, 0, ?, ?, ?)", 
     431                (user_id, del, standard, name, email, signature) 
     432               VALUES (?, 0, ?, ?, ?, ?)", 
    432433              $user_id, 
    433434              $plugin['record']['standard'], 
    434435              $plugin['record']['name'] != NULL ? $plugin['record']['name'] : '', 
    435               $plugin['record']['email']); 
     436              $plugin['record']['email'], 
     437              $plugin['record']['signature']); 
    436438        } 
    437439        $standard = 0; 
Note: See TracChangeset for help on using the changeset viewer.