Skip to content
GitLab
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
c42816cc
Commit
c42816cc
authored
Oct 04, 2018
by
Robert Lyon
Committed by
Gerrit Code Review
Oct 04, 2018
Browse files
Merge "Bug 1795977: notrudeform not defined for logged out users"
parents
85b8443b
840b1d04
Changes
1
Hide whitespace changes
Inline
Side-by-side
htdocs/view/view.php
View file @
c42816cc
...
...
@@ -491,8 +491,10 @@ if (isset($addfeedbackform)) {
}
if
(
isset
(
$objectionform
))
{
$smarty
->
assign
(
'objectionform'
,
$objectionform
);
$smarty
->
assign
(
'notrudeform'
,
$notrudeform
);
$smarty
->
assign
(
'stillrudeform'
,
$stillrudeform
);
if
(
$USER
->
is_logged_in
())
{
$smarty
->
assign
(
'notrudeform'
,
$notrudeform
);
$smarty
->
assign
(
'stillrudeform'
,
$stillrudeform
);
}
$smarty
->
assign
(
'objectedpage'
,
$view
->
is_objectionable
());
$smarty
->
assign
(
'objector'
,
$view
->
is_objectionable
(
$USER
->
get
(
'id'
)));
$smarty
->
assign
(
'objectionreplied'
,
$view
->
is_objectionable
(
null
,
true
));
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new 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