Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
What's new
7
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Open sidebar
mahara
mahara
Commits
491bb57f
Commit
491bb57f
authored
Nov 10, 2017
by
Robert Lyon
Committed by
Gerrit Code Review
Nov 10, 2017
Browse files
Options
Browse Files
Download
Plain Diff
Merge "Bug 1729423: publish correct private comment in the list"
parents
93308635
9f98b2d7
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
3 additions
and
3 deletions
+3
-3
htdocs/artefact/artefact.php
htdocs/artefact/artefact.php
+1
-1
htdocs/artefact/comment/blocktype/comment/lib.php
htdocs/artefact/comment/blocktype/comment/lib.php
+1
-1
htdocs/view/view.php
htdocs/view/view.php
+1
-1
No files found.
htdocs/artefact/artefact.php
View file @
491bb57f
...
@@ -83,7 +83,7 @@ else {
...
@@ -83,7 +83,7 @@ else {
}
}
// Create the "make comment private form" now if it's been submitted
// Create the "make comment private form" now if it's been submitted
if
(
param_
variable
(
'make_public_submit'
,
null
))
{
if
(
param_
exists
(
'make_public_submit'
))
{
pieform
(
ArtefactTypeComment
::
make_public_form
(
param_integer
(
'comment'
)));
pieform
(
ArtefactTypeComment
::
make_public_form
(
param_integer
(
'comment'
)));
}
}
else
if
(
param_exists
(
'delete_comment_submit'
))
{
else
if
(
param_exists
(
'delete_comment_submit'
))
{
...
...
htdocs/artefact/comment/blocktype/comment/lib.php
View file @
491bb57f
...
@@ -53,7 +53,7 @@ class PluginBlocktypeComment extends MaharaCoreBlocktype {
...
@@ -53,7 +53,7 @@ class PluginBlocktypeComment extends MaharaCoreBlocktype {
$offset
=
param_integer
(
'offset'
,
0
);
$offset
=
param_integer
(
'offset'
,
0
);
$showcomment
=
param_integer
(
'showcomment'
,
null
);
$showcomment
=
param_integer
(
'showcomment'
,
null
);
// Create the "make comment private form" now if it's been submitted
// Create the "make comment private form" now if it's been submitted
if
(
param_
variable
(
'make_public_submit'
,
null
))
{
if
(
param_
exists
(
'make_public_submit'
))
{
pieform
(
ArtefactTypeComment
::
make_public_form
(
param_integer
(
'comment'
)));
pieform
(
ArtefactTypeComment
::
make_public_form
(
param_integer
(
'comment'
)));
}
}
else
if
(
param_exists
(
'delete_comment_submit'
))
{
else
if
(
param_exists
(
'delete_comment_submit'
))
{
...
...
htdocs/view/view.php
View file @
491bb57f
...
@@ -107,7 +107,7 @@ $offset = param_integer('offset', 0);
...
@@ -107,7 +107,7 @@ $offset = param_integer('offset', 0);
$showcomment
=
param_integer
(
'showcomment'
,
null
);
$showcomment
=
param_integer
(
'showcomment'
,
null
);
// Create the "make comment private form" now if it's been submitted
// Create the "make comment private form" now if it's been submitted
if
(
param_
variable
(
'make_public_submit'
,
null
))
{
if
(
param_
exists
(
'make_public_submit'
))
{
pieform
(
ArtefactTypeComment
::
make_public_form
(
param_integer
(
'comment'
)));
pieform
(
ArtefactTypeComment
::
make_public_form
(
param_integer
(
'comment'
)));
}
}
else
if
(
param_exists
(
'delete_comment_submit'
))
{
else
if
(
param_exists
(
'delete_comment_submit'
))
{
...
...
Write
Preview
Markdown
is supported
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