Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
mahara
mahara
Commits
338e443d
Commit
338e443d
authored
Mar 12, 2007
by
Nigel McNie
Committed by
Nigel McNie
Mar 12, 2007
Browse files
Make blogs be a container, like they are, so blog posts can be attached
to views
parent
cec6ede2
Changes
1
Hide whitespace changes
Inline
Side-by-side
htdocs/artefact/blog/lib.php
View file @
338e443d
...
...
@@ -145,6 +145,14 @@ class ArtefactTypeBlog extends ArtefactType {
}
}
}
if
(
empty
(
$this
->
id
))
{
$this
->
container
=
1
;
}
}
public
function
is_container
()
{
return
true
;
}
/**
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment