summaryrefslogtreecommitdiffstats
path: root/db/folder.php
diff options
context:
space:
mode:
Diffstat (limited to 'db/folder.php')
-rw-r--r--db/folder.php5
1 files changed, 5 insertions, 0 deletions
diff --git a/db/folder.php b/db/folder.php
index aa5cf66a9..adc4a8572 100644
--- a/db/folder.php
+++ b/db/folder.php
@@ -35,4 +35,9 @@ class Folder extends Entity {
public $userId;
public $opened;
+ public function __construct(){
+ $this->addType('parentId', 'int');
+ $this->addType('opened', 'bool');
+ }
+
} \ No newline at end of file