aboutsummaryrefslogtreecommitdiffstats
path: root/packages/autoconfigbackup
diff options
context:
space:
mode:
authorScott Ullrich <sullrich@pfsense.org>2008-10-06 19:22:27 +0000
committerScott Ullrich <sullrich@pfsense.org>2008-10-06 19:22:27 +0000
commitb24012187918f6b71b0695da63e5df3c680b68f9 (patch)
treee19889dd56740b24bf73a6fa783f00c1b4d5cfdb /packages/autoconfigbackup
parent57bcfcb9a3788f2885f0f7d061a7a79de5942582 (diff)
downloadpfsense-packages-b24012187918f6b71b0695da63e5df3c680b68f9.tar.gz
pfsense-packages-b24012187918f6b71b0695da63e5df3c680b68f9.tar.bz2
pfsense-packages-b24012187918f6b71b0695da63e5df3c680b68f9.zip
Correct split argument ordering
Diffstat (limited to 'packages/autoconfigbackup')
-rw-r--r--packages/autoconfigbackup/autoconfigbackup.php4
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];