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
9aa6f478
Commit
9aa6f478
authored
Aug 16, 2018
by
Robert Lyon
Committed by
Gerrit Code Review
Aug 16, 2018
Browse files
Merge "Bug 1781844: Lock blocks on pages"
parents
e54f8d25
c4befa28
Changes
1
Hide whitespace changes
Inline
Side-by-side
htdocs/lib/view.php
View file @
9aa6f478
...
...
@@ -1135,8 +1135,7 @@ class View {
||
(
$c
=
strcmp
(
$a
->
startdate
,
$b
->
startdate
))
||
(
$c
=
!
empty
(
$a
->
stopdate
)
-
!
empty
(
$b
->
stopdate
))
||
(
$c
=
strcmp
(
$a
->
stopdate
,
$b
->
stopdate
))
||
(
$c
=
$a
->
allowcomments
-
$b
->
allowcomments
)
||
(
$c
=
$a
->
lockblocks
-
$b
->
lockblocks
))
{
||
(
$c
=
$a
->
allowcomments
-
$b
->
allowcomments
))
{
return
$c
;
}
return
$a
->
approvecomments
-
$b
->
approvecomments
;
...
...
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