Skip to content

Commit 8056b4e

Browse files
committed
[FIX] material upload as PR manager
fixes indico#1310
1 parent 01dcec0 commit 8056b4e

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

indico/MaKaC/webinterface/rh/contribMod.py

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -601,7 +601,8 @@ def _checkProtection(self):
601601
self._loggedIn = True
602602
# status = 3 means the paper is under review (submitted but not reviewed)
603603
# status = 2 means that the author has not yet submitted the material
604-
elif not (RCContributionPaperReviewingStaff.hasRights(self, includingContentReviewer=False) and self._target.getReviewing().getReviewingState() in [2, 3]):
604+
elif not (RCContributionPaperReviewingStaff.hasRights(self, includingContentReviewer=False)
605+
and self._target.getReviewing() and self._target.getReviewing().getReviewingState() in (2, 3)):
605606
RHSubmitMaterialBase._checkProtection(self)
606607
else:
607608
self._loggedIn = True

0 commit comments

Comments
 (0)