diff --git a/Admin/Install/db.json b/Admin/Install/db.json index 1dedb34..bdcec88 100755 --- a/Admin/Install/db.json +++ b/Admin/Install/db.json @@ -161,13 +161,13 @@ "null": false }, "task_attr_type_required": { - "description": "Every task must have this attribute type if set to true.", + "comment": "Every task must have this attribute type if set to true.", "name": "task_attr_type_required", "type": "TINYINT(1)", "null": false }, "task_attr_type_pattern": { - "description": "This is a regex validation pattern.", + "comment": "This is a regex validation pattern.", "name": "task_attr_type_pattern", "type": "VARCHAR(255)", "null": false diff --git a/Docs/Dev/en/structure.md b/Docs/Dev/en/structure.md deleted file mode 100755 index 1cab5e0..0000000 --- a/Docs/Dev/en/structure.md +++ /dev/null @@ -1,5 +0,0 @@ -# Structure - -## ER - -![ER](Modules/Tasks/Docs/Dev/img/er.png) \ No newline at end of file diff --git a/Docs/Dev/img/er.png b/Docs/Dev/img/er.png deleted file mode 100644 index c138886..0000000 Binary files a/Docs/Dev/img/er.png and /dev/null differ diff --git a/Models/TaskMapper.php b/Models/TaskMapper.php index a01152f..307dfda 100755 --- a/Models/TaskMapper.php +++ b/Models/TaskMapper.php @@ -418,6 +418,9 @@ final class TaskMapper extends DataMapperFactory ->andWhere(TaskSeenMapper::TABLE . '.task_seen_task', '=', null); $sth = $query->execute(); + if ($sth === null) { + return []; + } $fetched = $sth->fetchAll(\PDO::FETCH_COLUMN); if ($fetched === false) { diff --git a/info.json b/info.json index b6b3dd5..2046232 100755 --- a/info.json +++ b/info.json @@ -12,7 +12,7 @@ }, "creator": { "name": "Jingga", - "website": "jingga.app" + "website": "https://jingga.app" }, "description": "Tasks module.", "directory": "Tasks",