Add table to doc util script
- Remove db parameter from several places - Add constructors for document types
This commit is contained in:
@@ -48,7 +48,7 @@ class ItemList {
|
||||
{
|
||||
$result = $query->execute();
|
||||
if (!$result) {
|
||||
$this->error = Data::error($db)['error'];
|
||||
$this->error = 'SQLite error: ' . $db->lastErrorMsg();
|
||||
} else {
|
||||
$this->items = $result;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user