Changeset 429

Show
Ignore:
Timestamp:
2011-04-22 08:25:00 (1 year ago)
Author:
hannes
Message:

merging changeset [428] (strict mode fix) from trunk

Files:

Legend:

Unmodified
Added
Removed
Modified
Copied
Moved
  • branches/5.2/classes/misc/Member.php

    r424 r429  
    586586                $q = $C->prepare('INSERT INTO ' . $SETTINGS['dbtableprefix'] . 'logins (ip, ts) VALUES (:ip, :ts)'); 
    587587                $q->bindParam(':ip', $_SERVER['REMOTE_ADDR'], PDO::PARAM_STR); 
    588                 $q->bindParam(':ts', time(), PDO::PARAM_INT); 
     588                $q->bindValue(':ts', time(), PDO::PARAM_INT); 
    589589                $q->execute(); 
    590590                // update cookie and session