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
8496c3f4
Commit
8496c3f4
authored
Jun 23, 2010
by
Richard Mansfield
Browse files
Don't show view submission form on group views block when editing the view
Signed-off-by:
Richard Mansfield
<
richardm@catalyst.net.nz
>
parent
b46cf758
Changes
1
Hide whitespace changes
Inline
Side-by-side
htdocs/blocktype/groupviews/lib.php
View file @
8496c3f4
...
...
@@ -74,7 +74,7 @@ class PluginBlocktypeGroupViews extends SystemBlocktype {
if
(
isset
(
$data
[
'mysubmittedviews'
]))
{
$dwoo
->
assign
(
'mysubmittedviews'
,
$data
[
'mysubmittedviews'
]);
}
if
(
isset
(
$data
[
'group_view_submission_form'
]))
{
if
(
!
$editing
&&
isset
(
$data
[
'group_view_submission_form'
]))
{
$dwoo
->
assign
(
'group_view_submission_form'
,
$data
[
'group_view_submission_form'
]);
}
...
...
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