Changeset 111

Show
Ignore:
Timestamp:
10/08/07 21:43:24 (1 year ago)
Author:
pdingle
Message:

fixed db error in the writeToAudit routine

Files:

Legend:

Unmodified
Added
Removed
Modified
Copied
Moved
  • trunk/wp-infocard/wp/audit.pw.php

    r110 r111  
    2020                $today = date('Y-m-d H-i-s'); 
    2121                $query = "INSERT INTO `" . PW_TABLE_PREFIX . "infocard_audit` " 
    22                 . "(`modulusHash`, `ppid`, `accountid`, `email`,`time`,`IP`,`status`) " 
    23                 . "VALUES ('$modulus', '$ppid', '$acct', '$email','$today','$ip','$error')"; 
     22                . "(`cardhash`, `accountid`, `email`,`time`,`IP`,`status`) " 
     23                . "VALUES ('$cardhash', '$acct', '$email','$today','$ip','$error')"; 
    2424 
    2525                $update_result = $wpdb->query( $query );