Skip to content

Commit

Permalink
WIP: Finishing file import
Browse files Browse the repository at this point in the history
  • Loading branch information
dasistwas committed Oct 15, 2023
1 parent ed3d112 commit 109e532
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion rule/ftpsyncfiles/rule_class.php
Original file line number Diff line number Diff line change
Expand Up @@ -86,7 +86,9 @@ class datalynx_rule_ftpsyncfiles extends datalynx_rule_base {
*/
public function __construct($df = 0, $rule = 0) {
parent::__construct($df, $rule);
$this->sftpsetting = unserialize($this->rule->param2);
if (isset($this->rule->param2)) {
$this->sftpsetting = unserialize($this->rule->param2);
}
$this->sftpserver = $this->sftpsetting['sftpserver'];
$this->sftpport = $this->sftpsetting['sftpport'];
$this->sftpusername = $this->sftpsetting['sftpusername'];
Expand Down

0 comments on commit 109e532

Please sign in to comment.