Commit 74d25762 authored by Robert Lyon's avatar Robert Lyon
Browse files

show ok msg when adding instit. when reg. allowed is off (bug 746418)

there was code for this already but the check was not working

Change-Id: I40b2563d60a4b45531e3d1e5078fb37b14c22311
Signed-off-by: Robert Lyon's avatarRobert Lyon <>
parent 46ffc411
......@@ -828,7 +828,7 @@ function institution_submit(Pieform $form, $values) {
if ($add) {
if ($newinstitution->registerallowed) {
if (!$newinstitution->registerallowed) {
// If registration is not allowed, then an authinstance will not
// have been created, and thus cause the institution page to add
// its own error message on the next page load
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment