diff --git a/src/main/java/org/olat/modules/webFeed/ui/podcast/EpisodeFormController.java b/src/main/java/org/olat/modules/webFeed/ui/podcast/EpisodeFormController.java
index a5c0d003980fe480d4b5e2edc5100d3102dc71bc..a5c7fea1c42a889a1f4c6b7579cb1a7cae07a998 100644
--- a/src/main/java/org/olat/modules/webFeed/ui/podcast/EpisodeFormController.java
+++ b/src/main/java/org/olat/modules/webFeed/ui/podcast/EpisodeFormController.java
@@ -190,18 +190,20 @@ public class EpisodeFormController extends FormBasicController {
 			} else {
 				flc.setDirty(true);
 			}
-		}
-		
-		if(baseDir.getLocalSecurityCallback() == null || baseDir.getLocalSecurityCallback().getQuota() != null) {
-			Quota feedQuota = baseDir.getLocalSecurityCallback().getQuota();
-			Long remainingQuotaKb = feedQuota.getRemainingSpace();
-			if (remainingQuotaKb != -1 && file.getUploadFile().length() / 1024 > remainingQuotaKb) {
-				String supportAddr = WebappHelper.getMailConfig("mailSupport");
-				Long uploadLimitKB = feedQuota.getUlLimitKB();
-				getWindowControl().setError(translate("ULLimitExceeded", new String[] { Formatter.roundToString(uploadLimitKB.floatValue() / 1024f, 1), supportAddr }));
+			
+			// quota check
+			if(baseDir.getLocalSecurityCallback() == null || baseDir.getLocalSecurityCallback().getQuota() != null) {
+				Quota feedQuota = baseDir.getLocalSecurityCallback().getQuota();
+				Long remainingQuotaKb = feedQuota.getRemainingSpace();
+				if (remainingQuotaKb != -1 && file.getUploadFile().length() / 1024 > remainingQuotaKb) {
+					String supportAddr = WebappHelper.getMailConfig("mailSupport");
+					Long uploadLimitKB = feedQuota.getUlLimitKB();
+					getWindowControl().setError(translate("ULLimitExceeded", new String[] { Formatter.roundToString(uploadLimitKB.floatValue() / 1024f, 1), supportAddr }));
+				}
 			}
 		}
 		
+		
 		//fxdiff FXOLAT-118: size for video podcast
 		String width = widthEl.getValue();
 		widthEl.clearError();