diff options
author | Scott Ullrich <sullrich@pfsense.org> | 2008-10-06 19:22:27 +0000 |
---|---|---|
committer | Scott Ullrich <sullrich@pfsense.org> | 2008-10-06 19:22:27 +0000 |
commit | b24012187918f6b71b0695da63e5df3c680b68f9 (patch) | |
tree | e19889dd56740b24bf73a6fa783f00c1b4d5cfdb /packages | |
parent | 57bcfcb9a3788f2885f0f7d061a7a79de5942582 (diff) | |
download | pfsense-packages-b24012187918f6b71b0695da63e5df3c680b68f9.tar.gz pfsense-packages-b24012187918f6b71b0695da63e5df3c680b68f9.tar.bz2 pfsense-packages-b24012187918f6b71b0695da63e5df3c680b68f9.zip |
Correct split argument ordering
Diffstat (limited to 'packages')
-rw-r--r-- | packages/autoconfigbackup/autoconfigbackup.php | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/packages/autoconfigbackup/autoconfigbackup.php b/packages/autoconfigbackup/autoconfigbackup.php index 49dd2ac0..b3a2e4d2 100644 --- a/packages/autoconfigbackup/autoconfigbackup.php +++ b/packages/autoconfigbackup/autoconfigbackup.php @@ -81,11 +81,11 @@ if($_GET['rmver'] != "") { } // Loop through and create new confvers -$data_split = split($data, "\n"); +$data_split = split("\n", $data); $confvers = array(); $tmp_array = array(); foreach($data_split as $ds) { - $ds_split = split($ds, $oper_sep); + $ds_split = split($oper_sep, $ds); $tmp_array['username'] = $ds_split[0]; $tmp_array['reason'] = $ds_split[1]; $tmp_array['time'] = $ds_split[2]; |