Browse Source

Merge branch 'master' into feature138

trendschau 5 years ago
parent
commit
18c3af69c5
1 changed files with 8 additions and 6 deletions
  1. 8 6
      system/author/auth/setup.twig

+ 8 - 6
system/author/auth/setup.twig

@@ -7,11 +7,13 @@
 
 		{% if systemcheck %}
 			<h2>Missing Requirements</h2>
-			<ul style="color:red;padding: 0 14px">
-				{% for systemerror in systemcheck %}
-					<li style="margin: 5px 0">{{ systemerror }}</li>
-				{% endfor %}
-			</ul>
+			{% if systemcheck.error %}
+				<ul style="color:red;padding: 0 14px">
+					{% for systemerror in systemcheck.error %}
+						<li style="margin: 5px 0">{{ systemerror }}</li>
+					{% endfor %}
+				</ul>
+			{% endif %}
 		{% endif %}
 
 		<div class="authformWrapper">
@@ -48,4 +50,4 @@
 		</div>		
 	</div>
 	
-{% endblock %}
+{% endblock %}