Commit a2ac7c27 authored by Richard Mansfield's avatar Richard Mansfield Committed by Gerrit Code Review
Browse files

Merge "Bug #903046: Fix undefined index error"

parents 19332d00 cadf9375
......@@ -702,7 +702,7 @@ function institution_submit(Pieform $form, $values) {
// Set the logo after updating the institution, because the institution
// needs to exist before it can own the logo artefact.
if ($values['logo']) {
if (!empty($values['logo'])) {
safe_require('artefact', 'file');
// Entry in artefact table
Supports Markdown
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