From d09e887945f673adf4eb690fda672ab4ba8d1daa 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 7ff3205d8b0..aec869dabc5 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]; -- 2.39.5