Skip to content

Commit

Permalink
fix phpdoc
Browse files Browse the repository at this point in the history
  • Loading branch information
slusarz committed Nov 8, 2014
1 parent 97166ba commit 670625c
Showing 1 changed file with 4 additions and 6 deletions.
10 changes: 4 additions & 6 deletions imp/lib/Ajax/Application/Handler/Dynamic.php
Expand Up @@ -730,19 +730,17 @@ public function messageMimeTree()
}

/**
* AJAX action: Return a list of address objects used to build an address
* header for a message.
* AJAX action: Return a list of address objects used to build an
* address header for a message.
*
* See the list of variables needed for IMP_Ajax_Application#changed() and
* IMP_Ajax_Application#checkUidvalidity(). Mailbox/indices form
* parameters needed. Additional variables used:
* - header: (integer) If set, return preview data. Otherwise, return
* full data.
* - header: (string) The header to return.
*
* @return object An object with the following entries:
* - hdr_data: (object) Contains header names as keys and lists of
* address objects as values.
* @throws IMP_Exception
*/
public function addressHeader()
{
Expand All @@ -751,7 +749,7 @@ public function addressHeader()
$hdr = $this->vars->header;

$result = new stdClass;
$result->hdr_data->$hdr = (object)$show_msg->getAddressHeader($this->vars->header, null);
$result->hdr_data->$hdr = (object)$show_msg->getAddressHeader($hdr, null);

return $result;
}
Expand Down

0 comments on commit 670625c

Please sign in to comment.