← Back to team overview

mahara-contributors team mailing list archive

[Bug 1095934] [NEW] cleanurl's only checks !is_null, but a urlid could be ''

 

Public bug reported:

group_homepage_url lib/group.php line 2351

There was a problem where the links only showed /group/, but no id, I
think this is to do with the $group->urlid being '', which is not null,
but empty. I suggest using empty instead.

** Affects: mahara
     Importance: Medium
         Status: Triaged

** Changed in: mahara
       Status: New => Triaged

** Changed in: mahara
   Importance: Undecided => Medium

-- 
You received this bug notification because you are a member of Mahara
Contributors, which is subscribed to Mahara.
https://bugs.launchpad.net/bugs/1095934

Title:
  cleanurl's only checks !is_null, but a urlid could be ''

Status in Mahara ePortfolio:
  Triaged

Bug description:
  group_homepage_url lib/group.php line 2351

  There was a problem where the links only showed /group/, but no id, I
  think this is to do with the $group->urlid being '', which is not
  null, but empty. I suggest using empty instead.

To manage notifications about this bug go to:
https://bugs.launchpad.net/mahara/+bug/1095934/+subscriptions


Follow ups

References