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
3e76e2f1
Commit
3e76e2f1
authored
Dec 16, 2013
by
Robert Lyon
Committed by
Gerrit Code Review
Dec 16, 2013
Browse files
Merge "Using empty() instead of is_null (Bug 1095934)"
parents
1cdc0486
2f41bf3c
Changes
1
Hide whitespace changes
Inline
Side-by-side
htdocs/lib/group.php
View file @
3e76e2f1
...
...
@@ -2339,7 +2339,7 @@ function group_get_new_homepage_urlid($desired) {
* @return string
*/
function
group_homepage_url
(
$group
,
$full
=
true
,
$useid
=
false
)
{
if
(
!
$useid
&&
!
is_null
(
$group
->
urlid
)
&&
get_config
(
'cleanurls'
))
{
if
(
!
$useid
&&
!
empty
(
$group
->
urlid
)
&&
get_config
(
'cleanurls'
))
{
$url
=
get_config
(
'cleanurlgroupdefault'
)
.
'/'
.
$group
->
urlid
;
}
else
if
(
$group
->
id
)
{
...
...
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