Skip to content

Commit

Permalink
Merge pull request #8 from mattclements/patch-1
Browse files Browse the repository at this point in the history
Fixed PDO SQL Error
  • Loading branch information
richardfullmer committed Jul 9, 2015
2 parents c1cdcad + 41b1701 commit b206ff5
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 b206ff5

Please sign in to comment.