Skip to content
This repository was archived by the owner on Sep 10, 2021. It is now read-only.

Commit 8218ab2

Browse files
author
Michael Grauer
committed
BUG: refs #0349. Set type on item, was breaking pgsql save.
1 parent 8d3618f commit 8218ab2

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

core/models/base/ItemModelBase.php

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -260,6 +260,7 @@ function createItem($name, $description, $parent, $uuid = '')
260260
$item = new ItemDao();
261261
$item->setName($name);
262262
$item->setDescription($description);
263+
$item->setType(0);
263264
$item->setUuid($uuid);
264265
$this->save($item);
265266

0 commit comments

Comments
 (0)