diff --git a/push-syndication-server/push-syndication-server.php b/push-syndication-server/push-syndication-server.php
index c5716d27cce20ffceb31258fe7af0040689962a1..308ba70cf40a3a929f006e88ace0f208222b196b 100644
--- a/push-syndication-server/push-syndication-server.php
+++ b/push-syndication-server/push-syndication-server.php
@@ -277,10 +277,10 @@ class Push_Syndication_Server {
 		</li>
 <?php
 
-		echo '</ul>';
-
 		}
 
+		echo '</ul>';
+
 	}
 
 	public function get_user_roles() {