aboutsummaryrefslogtreecommitdiffstats
path: root/packages/autoconfigbackup/autoconfigbackup.php
diff options
context:
space:
mode:
authorScott Ullrich <sullrich@pfsense.org>2008-10-08 21:07:01 +0000
committerScott Ullrich <sullrich@pfsense.org>2008-10-08 21:07:01 +0000
commitcf384b6d75583fcf418f340a9ea002f3b8ca780d (patch)
tree6d984be674d80825905f60785ee3c86c05ee1902 /packages/autoconfigbackup/autoconfigbackup.php
parent946ab33b995ad3a95d9d7b7b728bc106e73f8ecf (diff)
downloadpfsense-packages-cf384b6d75583fcf418f340a9ea002f3b8ca780d.tar.gz
pfsense-packages-cf384b6d75583fcf418f340a9ea002f3b8ca780d.tar.bz2
pfsense-packages-cf384b6d75583fcf418f340a9ea002f3b8ca780d.zip
Remove space
Diffstat (limited to 'packages/autoconfigbackup/autoconfigbackup.php')
-rw-r--r--packages/autoconfigbackup/autoconfigbackup.php6
1 files changed, 3 insertions, 3 deletions
diff --git a/packages/autoconfigbackup/autoconfigbackup.php b/packages/autoconfigbackup/autoconfigbackup.php
index 63444a6d..aadd0bcf 100644
--- a/packages/autoconfigbackup/autoconfigbackup.php
+++ b/packages/autoconfigbackup/autoconfigbackup.php
@@ -64,8 +64,8 @@ if($_REQUEST['newver'] != "") {
// Phone home and obtain backups
$curl_session = curl_init();
curl_setopt($curl_session, CURLOPT_URL, $get_url . "?action=restore" .
- "&hostname=" . urlencode($_REQUEST['newver']) .
- " &revision=" . urlencode($_REQUEST['newver']));
+ "&hostname=" . urlencode($hostname) .
+ "&revision=" . urlencode($_REQUEST['newver']));
curl_setopt($curl_session, CURLOPT_SSL_VERIFYPEER, 0);
curl_setopt($curl_session, CURLOPT_RETURNTRANSFER, 1);
$data = curl_exec($curl_session);
@@ -165,7 +165,7 @@ include("head.inc");
<td class="listlr"> <?= $cv['time']; ?></td>
<td class="listlr"> <?= $cv['reason']; ?></td>
<td colspan="2" valign="middle" class="list" nowrap>
- <a href="autoconfigbackup.php?newver=<?=urlencode($cv['time']);?>&hostname=<?=urlencode($hostname);?>">
+ <a href="autoconfigbackup.php?newver=<?=urlencode($cv['time']);?>">
<img src="/themes/<?= $g['theme']; ?>/images/icons/icon_plus.gif" width="17" height="17" border="0">
</a>
</td>