diff options
-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]; |