Commit 338e443d authored by Nigel McNie's avatar Nigel McNie Committed by Nigel McNie
Browse files

Make blogs be a container, like they are, so blog posts can be attached

to views
parent cec6ede2
......@@ -145,6 +145,14 @@ class ArtefactTypeBlog extends ArtefactType {
}
}
}
if (empty($this->id)) {
$this->container = 1;
}
}
public function is_container() {
return true;
}
/**
......
Supports Markdown
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