Skip to content
This repository has been archived by the owner on May 22, 2024. It is now read-only.

selectValue in DB plugin #52

Open
rcamprodon opened this issue Dec 21, 2015 · 0 comments
Open

selectValue in DB plugin #52

rcamprodon opened this issue Dec 21, 2015 · 0 comments

Comments

@rcamprodon
Copy link

selectValue($tableName, $column, $where = null) is implemented as

$stmt = $this->executeSelect($tableName, $column, $where,$afterwhere);
return $stmt->fetchColumn();

$afterwhere is not declared so this gives errors when errors are enabled.
The solution is to replace $afterwhere by ''

Otherwise Atomik is really excellent!

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant