diff --git a/www/pages/content/ticket_edit.tpl b/www/pages/content/ticket_edit.tpl
index c571efc1..67118ba5 100644
--- a/www/pages/content/ticket_edit.tpl
+++ b/www/pages/content/ticket_edit.tpl
@@ -23,7 +23,7 @@
{|Letzte Aktion|}: | [ZEIT] |
{|Von|}: | [MAILADRESSE] ([KUNDE]) |
{|Projekt|}: | |
- {|Adresse|}: | |
+ {|Adresse|}: | |
{|Tags|}: | |
diff --git a/www/pages/ticket.php b/www/pages/ticket.php
index b36e42d9..1de9e941 100644
--- a/www/pages/ticket.php
+++ b/www/pages/ticket.php
@@ -53,7 +53,7 @@ class Ticket {
$defaultorder = 1;
$defaultorderdesc = 0;
- $menu = "";
+ $menu = "";
$timedifference = "if (
@@ -466,6 +466,10 @@ class Ticket {
$this->app->Tpl->Set('STATUSICON', $this->ticket_status_icon($ticket_from_db['status'])." ");
$this->app->YUI->AutoComplete("adresse","adresse");
$this->app->Tpl->Set('ADRESSE', $this->app->erp->ReplaceAdresse(false,$ticket_from_db['adresse'],false)); // Convert ID to form display
+
+
+ $this->app->Tpl->Set('ADRESSE_ID',$ticket_from_db['adresse']);
+
$this->app->YUI->AutoComplete("projekt","projektname",1);
$this->app->YUI->AutoComplete("status","ticketstatus",1);
$this->app->YUI->TagEditor('tags', array('width'=>370));