Fixed some strict messages on configuration page
Dieser Commit ist enthalten in:
Ursprung
87f951530e
Commit
c4a04c1812
2 geänderte Dateien mit 84 neuen und 83 gelöschten Zeilen
|
|
@ -536,10 +536,11 @@ class Application_Form_Config_Email extends Zend_Form_SubForm
|
|||
* Extracts an multi array from flat element names and values
|
||||
*
|
||||
* @param array $data The values to extract index and values from
|
||||
* @param bool $suppressArrayNotation
|
||||
*
|
||||
* @return array The converted array
|
||||
*/
|
||||
public function getValidValues($data)
|
||||
public function getValidValues($data, $suppressArrayNotation = false)
|
||||
{
|
||||
$values = parent::getValidValues($data, true);
|
||||
$newArray = array();
|
||||
|
|
@ -566,11 +567,11 @@ class Application_Form_Config_Email extends Zend_Form_SubForm
|
|||
/**
|
||||
* Set default values
|
||||
*
|
||||
* @param $defaults
|
||||
* @param array $defaults
|
||||
*
|
||||
* @return Zend_Form
|
||||
*/
|
||||
public function setDefaults($defaults)
|
||||
public function setDefaults(array $defaults)
|
||||
{
|
||||
if (isset($defaults['email']['RecipientCc'])) {
|
||||
$recipientCc = array();
|
||||
|
|
|
|||
Laden …
Tabelle hinzufügen
Einen Link hinzufügen
In neuem Issue referenzieren