diff --git a/etemplate/js/et2_widget_selectAccount.js b/etemplate/js/et2_widget_selectAccount.js index 5b1abfb114..da51c6528e 100644 --- a/etemplate/js/et2_widget_selectAccount.js +++ b/etemplate/js/et2_widget_selectAccount.js @@ -263,7 +263,8 @@ var et2_selectAccount = (function(){ "use strict"; return et2_selectbox.extend( } if(this.options.select_options[i].value == search[j]) found = true; } - if(!found) + // We only look for numeric IDs, non-numeric IDs cause an exception + if(!found && !isNaN(search[j])) { // Add it in var name = this.egw().link_title('home-accounts', search[j]);