← Back to team overview

mahara-contributors team mailing list archive

[Bug 801092] A change has been merged

 

Reviewed:  https://reviews.mahara.org/383
Committed: http://gitorious.org/mahara/mahara/commit/4eb7374f710ead09650e1d159cccda6a5e65b3ee
Submitter: Ruslan Kabalin (ruslan.kabalin@xxxxxxxxxxx)
Branch:    master

commit 4eb7374f710ead09650e1d159cccda6a5e65b3ee
Author: Hugh Davenport <hugh@xxxxxxxxxxxxxxx>
Date:   Fri Jun 24 10:56:51 2011 +1200

    Fix bug with institutional quotas (bug #801092)
    
    When institutional admins try to add/edit users,
    the default quota value passed in the form was a string
    ie. 50MB
    
    This fix changes it so that if institutionaloverride is disabled
    and the user is not a site admin, then don't set the quota
    
    Change-Id: Idc1607dac992fe3a0bde8996659f90441d1c4753
    Signed-off-by: Hugh Davenport <hugh@xxxxxxxxxxxxxxx>

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

Title:
  SQL error when user is edited or added by Institution admin

Status in Mahara ePortfolio:
  In Progress

Bug description:
  The bug has been introduced in https://reviews.mahara.org/#change,216
  where $values['defaultquota'] may contain a string value if
  Institution admin is not permitted to change the quota. The string
  can't be inserted in DB integer field for quota.

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


References