From 1287551a10984cd8e234c96a88de2f85a7bbca41 Mon Sep 17 00:00:00 2001
From: "julien.malik@paraiso.me" <julien.malik@paraiso.me>
Date: Fri, 12 Dec 2014 10:55:43 +0100
Subject: [PATCH] Update apps.md

---
 apps.md | 9 +++++++--
 1 file changed, 7 insertions(+), 2 deletions(-)

diff --git a/apps.md b/apps.md
index 30c518d3..10234d0c 100644
--- a/apps.md
+++ b/apps.md
@@ -51,11 +51,16 @@ $(document).ready(function () {
              .replace(/{app_id}/g, app_id)
              .replace(/{app_name}/g, infos.manifest.name)
              .replace('{app_description}', infos.manifest.description.en)
-             .replace('{app_maintainer}', infos.manifest.developer.name)
-             .replace('{app_mail}', infos.manifest.developer.email)
              .replace('{app_git}', infos.git.url)
              .replace('{app_branch}', infos.git.branch)
              .replace('{app_update}', timeConverter(infos.lastUpdate));
+
+      if (infos.manifest.developer) {
+        html
+          .replace('{app_maintainer}', infos.manifest.developer.name)
+          .replace('{app_mail}', infos.manifest.developer.email);
+      }
+
       $('#app-accordion').append(html);
       $('.app_'+ app_id).attr('id', 'app_'+ app_id);
     });