Tiqr / tiqr

Obsolete Github repo for the tiqr.org project. Note that the repository is split into several individual repos, all with a tiqr- prefix
35 stars 16 forks source link

PDO StateStorage : minor bug in cleanExpired method #23

Closed semobilu closed 11 years ago

semobilu commented 11 years ago

I had a minor issue at line 40 in Tiqr_StateStorage_Pdo class : $sth = $this->handle->prepare("DELETE FROM ? WHERE expire < ?");

Fixed with this : $sth = $this->handle->prepare("DELETE FROM ".$this->tablename." WHERE expire < ?");

Regards,

ijansch commented 11 years ago

Fix was merged, issue can be closed. Thanks!