From ab997bdc68042fa292877e17bb991d79cbed0738 Mon Sep 17 00:00:00 2001 From: Victor Dubiniuk Date: Mon, 22 Jul 2013 21:02:56 +0300 Subject: [PATCH] Create an array entry before filling it --- core/js/share.js | 1 + 1 file changed, 1 insertion(+) diff --git a/core/js/share.js b/core/js/share.js index 71e6136bf71..e59669cbc2b 100644 --- a/core/js/share.js +++ b/core/js/share.js @@ -92,6 +92,7 @@ OC.Share={ } } if (shares) { + OC.Share.statuses[itemSource] = OC.Share.statuses[itemSource] || {}; OC.Share.statuses[itemSource]['link'] = link; } else { delete OC.Share.statuses[itemSource];