← Back to team overview

mahara-contributors team mailing list archive

[Bug 1043015] A change has been merged

 

*** This bug is a duplicate of bug 1011950 ***
    https://bugs.launchpad.net/bugs/1011950

Reviewed:  https://reviews.mahara.org/1644
Committed: http://gitorious.org/mahara/mahara/commit/9d657b76ec2deeb19ae58ca5d662678e7d681c59
Submitter: Melissa Draper (melissa@xxxxxxxxxxxxxxx)
Branch:    master

commit 9d657b76ec2deeb19ae58ca5d662678e7d681c59
Author: Son Nguyen <son.nguyen@xxxxxxxxxxxxxxx>
Date:   Fri Sep 7 09:47:47 2012 +1200

    Fix the authentication warning for registration (bug #1043015)
    
    When all institutions in the site have only Internal auth method,
    values['authtype'] is not set.
    
    Change-Id: I247e6033f69b40b2016ebd4a2ccac04603e7c020
    Signed-off-by: Son Nguyen <son.nguyen@xxxxxxxxxxxxxxx>

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

Title:
  Authentication warning for registration to "No institution"

Status in Mahara ePortfolio:
  In Progress

Bug description:
  When you only have "No institution" on your site and both
  "Registration allowed" and "Confirm registration" turned on (but also
  only "Registration allowed"), you get the following warning message:

  [WAR] f9 (auth/lib.php:2147) Undefined index: authtype
  Call stack (most recent first):

      log_message("Undefined index: authtype", 8, true, true, "/var/www/maharadev/code/htdocs/auth/lib.php", 2147) at /var/www/maharadev/code/htdocs/lib/errors.php:446
      error(8, "Undefined index: authtype", "/var/www/maharadev/code/htdocs/auth/lib.php", 2147, array(size 4)) at /var/www/maharadev/code/htdocs/auth/lib.php:2147
      auth_register_submit(object(Pieform), array(size 10)) at Unknown:0
      call_user_func_array("auth_register_submit", array(size 2)) at /var/www/maharadev/code/htdocs/lib/pieforms/pieform.php:514
      Pieform->__construct(array(size 11)) at /var/www/maharadev/code/htdocs/auth/lib.php:2030
      auth_generate_registration_form_js(array(size 11), array(size 0)) at /var/www/maharadev/code/htdocs/register.php:209

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


References