Skip to content

Commit

Permalink
Fixed PDO SQL Error
Browse files Browse the repository at this point in the history
Fixed PDO SQL Error
  • Loading branch information
mattclements committed Jul 9, 2015
1 parent c1cdcad commit 41b1701
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/Storage/PDOStorageAdapter.php
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ class PDOStorageAdapter implements StorageInterface
{
const STMT_SELECT = 'SELECT settings FROM :table WHERE name = :key';
const STMT_INSERT = 'INSERT INTO :table (name, settings) VALUES (:key, :value)';
const STMT_UPDATE = 'UPDATE :table SET settings = :value WHERE key = :key';
const STMT_UPDATE = 'UPDATE :table SET settings = :value WHERE name = :key';

/**
* @var \PDO
Expand Down

0 comments on commit 41b1701

Please sign in to comment.