File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -12,7 +12,7 @@ public function handleConfigureAction(): void {
1212
1313 if (Minz_Request::isPost ()) {
1414 $ configuration = [
15- 'blacklist_patterns ' => Minz_Request::paramTextToArray ('blacklist_patterns ' , [] ),
15+ 'blacklist_patterns ' => Minz_Request::paramTextToArray ('blacklist_patterns ' ),
1616 ];
1717 $ this ->setSystemConfiguration ($ configuration );
1818 }
Original file line number Diff line number Diff line change @@ -12,9 +12,9 @@ public function handleConfigureAction(): void {
1212
1313 if (Minz_Request::isPost ()) {
1414 $ configuration = [
15- 'blacklist ' => array_filter (Minz_Request::paramTextToArray ('blacklist ' , [] )),
15+ 'blacklist ' => array_filter (Minz_Request::paramTextToArray ('blacklist ' )),
1616 'mark_as_read ' => Minz_Request::paramString ('mark_as_read ' ),
17- 'whitelist ' => array_filter (Minz_Request::paramTextToArray ('whitelist ' , [] )),
17+ 'whitelist ' => array_filter (Minz_Request::paramTextToArray ('whitelist ' )),
1818 ];
1919 $ this ->setSystemConfiguration ($ configuration );
2020 }
Original file line number Diff line number Diff line change @@ -25,7 +25,7 @@ public function handleConfigureAction() {
2525 $ data ['password_plain ' ] = strval (Minz_Request::param ('SendToMyJD2_password ' , '' ));
2626 $ data ['sendtestdata ' ] = strval (Minz_Request::paramString ('SendToMyJD2_sendtestdata ' ));
2727 $ data ['device ' ] = strval (Minz_Request::param ('SendToMyJD2_device ' , '' ));
28- $ data ['patterns ' ] = array_filter (Minz_Request::paramTextToArray ('SendToMyJD2_patterns ' , [] ));
28+ $ data ['patterns ' ] = array_filter (Minz_Request::paramTextToArray ('SendToMyJD2_patterns ' ));
2929
3030 Minz_Log::debug ('SendToMyJD2 - handleConfigureAction: data2save= ' . var_export ($ data , true ));
3131
You can’t perform that action at this time.
0 commit comments