diff options
author | Victor Dubiniuk <victor.dubiniuk@gmail.com> | 2013-07-22 22:02:56 +0400 |
---|---|---|
committer | Victor Dubiniuk <victor.dubiniuk@gmail.com> | 2013-07-24 22:48:03 +0400 |
commit | d09e887945f673adf4eb690fda672ab4ba8d1daa (patch) | |
tree | 9d60d5eb1027a69ab480be5e41cddf073ceb2f14 /core | |
parent | fefc4764621d3a3bc7ee4d4347767b99c209a044 (diff) |
Create an array entry before filling it
Diffstat (limited to 'core')
-rw-r--r-- | core/js/share.js | 1 |
1 files changed, 1 insertions, 0 deletions
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]; |