Commit b73847f7 authored by Robert Lyon's avatar Robert Lyon
Browse files

Bug 1474143: Allowing artefacts to be created with their sql defaults



This fixes the create new blog with embedded image problem

Change-Id: I4ee50c267a689aa92e841ca508a818ed1d22d814
Signed-off-by: Robert Lyon's avatarRobert Lyon <robertl@catalyst.net.nz>
parent 2a1b1adb
......@@ -260,13 +260,13 @@ abstract class ArtefactType implements IArtefactType {
protected $id;
protected $artefacttype;
protected $owner;
protected $container;
protected $container = 0;
protected $parent;
protected $oldparent;
protected $ctime;
protected $mtime;
protected $atime;
protected $locked;
protected $locked = 0;
protected $title;
protected $description;
protected $note;
......@@ -275,8 +275,8 @@ abstract class ArtefactType implements IArtefactType {
protected $group;
protected $author;
protected $authorname;
protected $allowcomments;
protected $approvecomments;
protected $allowcomments = 0;
protected $approvecomments = 0;
protected $rolepermissions;
protected $mtimemanuallyset;
protected $license;
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment