Development

Changeset 10530

You must first sign up to be able to contribute.

Changeset 10530

Show
Ignore:
Timestamp:
07/31/08 08:05:37 (1 year ago)
Author:
nicolas
Message:

[1.1] fixes #4103 - sfPDOSessionStorage has improper param binding order in session id update query

Files:

Legend:

Unmodified
Added
Removed
Modified
Copied
Moved
  • branches/1.1/lib/storage/sfPDOSessionStorage.class.php

    r10425 r10530  
    191191    { 
    192192      $stmt = $this->db->prepare($sql); 
    193       $stmt->bindParam(1, $currentId, PDO::PARAM_STR); 
    194       $stmt->bindParam(2, $newId, PDO::PARAM_STR); 
     193      $stmt->bindParam(1, $newId, PDO::PARAM_STR); 
     194      $stmt->bindParam(2, $currentId, PDO::PARAM_STR); 
    195195      $stmt->execute(); 
    196196    } 

The Sensio Labs Network

Since 1998, Sensio Labs has been promoting the Open-Source software movement by providing quality web application development, training, consulting, and supporting several large Open-Source projects.