diff --git a/addressbook/js/app.js b/addressbook/js/app.js index a510fb7966..cc4c95040c 100644 --- a/addressbook/js/app.js +++ b/addressbook/js/app.js @@ -951,6 +951,10 @@ app.classes.addressbook = AppJS.extend( return false; } var content = egw.dataGetUIDdata(_selected[0].id); + + // Selected, but data not found + if(!content || typeof content.data === 'undefined') return false; + var type = _action.id === 'business'?'one':'two'; var addrs = [ content.data['adr_'+type+'_street'],