fix path
This commit is contained in:
parent
2174a497b5
commit
d3cce26fbb
2 changed files with 8 additions and 1 deletions
|
|
@ -66,6 +66,9 @@ class Database_PDOStatement extends PDOStatement implements IteratorAggregate
|
|||
}
|
||||
|
||||
function getInt($name) {
|
||||
if (!$this->fields) {
|
||||
throw new Error('no fields');
|
||||
}
|
||||
return (int)$this->fields[$name];
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue