fixed PHP warnings

This commit is contained in:
Roland Gruber 2017-06-11 21:04:16 +02:00
parent bee01d1682
commit 6d91963df0
1 changed files with 2 additions and 2 deletions

View File

@ -425,7 +425,7 @@ class courierMailAccount extends baseModule {
/** /**
* {@inheritdoc} * {@inheritdoc}
*/ */
public function get_pdfEntries() { public function get_pdfEntries($pdfKeys, $typeId) {
$return = array(); $return = array();
$this->addSimplePDFField($return, 'mailbox', _('Mailbox')); $this->addSimplePDFField($return, 'mailbox', _('Mailbox'));
$this->addSimplePDFField($return, 'mailhost', _('Mailbox home server')); $this->addSimplePDFField($return, 'mailhost', _('Mailbox home server'));
@ -480,7 +480,7 @@ class courierMailAccount extends baseModule {
/** /**
* {@inheritdoc} * {@inheritdoc}
*/ */
public function build_uploadAccounts($rawAccounts, $ids, &$partialAccounts, $selectedModules) { public function build_uploadAccounts($rawAccounts, $ids, &$partialAccounts, $selectedModules, &$type) {
$messages = array(); $messages = array();
for ($i = 0; $i < sizeof($rawAccounts); $i++) { for ($i = 0; $i < sizeof($rawAccounts); $i++) {
// add object class // add object class