diff options
Diffstat (limited to 'app/controllers')
-rw-r--r-- | app/controllers/config_snom_controller.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/app/controllers/config_snom_controller.rb b/app/controllers/config_snom_controller.rb index 4b9489b..2b779e1 100644 --- a/app/controllers/config_snom_controller.rb +++ b/app/controllers/config_snom_controller.rb @@ -834,7 +834,7 @@ AAAA' phone_book_entries.each do |phone_book_entry| if phone_book_entry.phone_numbers.count > 1 - @phone_xml_object[:entries] << { :text => phone_book_entry.to_s, :number => phone_book_entry.phone_numbers.first } + @phone_xml_object[:entries] << { :text => phone_book_entry.to_s, :number => phone_book_entry.phone_numbers.first.number.to_s } end phone_book_entry.phone_numbers.each do |phone_number| if phone_book_entry.phone_numbers.count > 1 |