From: Victor Dubiniuk Date: Mon, 22 Jul 2013 18:02:56 +0000 (+0300) Subject: Create an array entry before filling it X-Git-Tag: v5.0.10~39 X-Git-Url: https://source.dussan.org/?a=commitdiff_plain;h=d09e887945f673adf4eb690fda672ab4ba8d1daa;p=nextcloud-server.git Create an array entry before filling it --- 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];