← Back to team overview

mahara-contributors team mailing list archive

[Bug 1211161] A change has been merged

 

Reviewed:  https://reviews.mahara.org/2399
Committed: http://gitorious.org/mahara/mahara/commit/7b3c69d192ae2762e97cd6f24ec594e3403d8408
Submitter: Robert Lyon (robertl@xxxxxxxxxxxxxxx)
Branch:    master

commit 7b3c69d192ae2762e97cd6f24ec594e3403d8408
Author: Aaron Wells <aaronw@xxxxxxxxxxxxxxx>
Date:   Mon Aug 12 17:33:11 2013 +1200

htdocs/group/edit.php: Squelch a cleanurls warning (bug 1211161)

- also bug 1212863

The code is designed to rely on the not set variable being automatically
converted to an empty string, but PHP throws a warning if you do that.

Change-Id: I40c2c7bd69939779bda68f4de4d47643f0212f42

-- 
You received this bug notification because you are a member of Mahara
Contributors, which is subscribed to Mahara.
Matching subscriptions: Subscription for all Mahara Contrib members
https://bugs.launchpad.net/bugs/1211161

Title:
  Creating a new group with cleanurls active, throws a warning

Status in Mahara ePortfolio:
  Fix Committed

Bug description:
  [WAR] b9 (group/edit.php:473) Undefined index: urlid
  Call stack (most recent first):

      log_message("Undefined index: urlid", 8, true, true, "/var/www/columbia-dev-mahara/releases/201308120359...", 473) at /var/www/columbia-dev-mahara/releases/20130812035927/lib/errors.php:446
      error(8, "Undefined index: urlid", "/var/www/columbia-dev-mahara/releases/201308120359...", 473, array(size 6)) at /var/www/columbia-dev-mahara/releases/20130812035927/group/edit.php:473
      editgroup_submit(object(Pieform), array(size 26)) at Unknown:0
      call_user_func_array("editgroup_submit", array(size 2)) at /var/www/columbia-dev-mahara/releases/20130812035927/lib/pieforms/pieform.php:514
      Pieform->__construct(array(size 4)) at /var/www/columbia-dev-mahara/releases/20130812035927/lib/pieforms/pieform.php:161
      Pieform::process(array(size 4)) at /var/www/columbia-dev-mahara/releases/20130812035927/lib/pieforms/pieform.php:71
      pieform(array(size 4)) at /var/www/columbia-dev-mahara/releases/20130812035927/group/edit.php:390

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


References