Commit 443dc3d5 authored by Richard Mansfield's avatar Richard Mansfield
Browse files

Get rid of warning in logs when uploading institution files


Signed-off-by: default avatarRichard Mansfield <richardm@catalyst.net.nz>
parent 6e9408e8
......@@ -867,7 +867,7 @@ class ArtefactTypeFile extends ArtefactTypeFileBase {
$f->delete();
throw new UploadException($error);
}
else if ($owner) {
else if (isset($owner)) {
$owner->quota_add($size);
$owner->commit();
}
......
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