diff options
author | Scott Ullrich <sullrich@pfsense.org> | 2008-12-07 06:40:39 +0000 |
---|---|---|
committer | Scott Ullrich <sullrich@pfsense.org> | 2008-12-07 06:40:39 +0000 |
commit | 10a830a6da1de9d69a279cf75db660c7df36afeb (patch) | |
tree | 06639f9724c4d5cc4a96d03548fec9a1cdc65208 /packages/autoconfigbackup/autoconfigbackup.php | |
parent | 72f5e4a1de8ab8bda1aaa15f0196ce996f360858 (diff) | |
download | pfsense-packages-10a830a6da1de9d69a279cf75db660c7df36afeb.tar.gz pfsense-packages-10a830a6da1de9d69a279cf75db660c7df36afeb.tar.bz2 pfsense-packages-10a830a6da1de9d69a279cf75db660c7df36afeb.zip |
Instead of showing 0 as sha256sum (before feature arrived) show that
none is on file.
Diffstat (limited to 'packages/autoconfigbackup/autoconfigbackup.php')
-rw-r--r-- | packages/autoconfigbackup/autoconfigbackup.php | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/packages/autoconfigbackup/autoconfigbackup.php b/packages/autoconfigbackup/autoconfigbackup.php index e87557a9..da84a99d 100644 --- a/packages/autoconfigbackup/autoconfigbackup.php +++ b/packages/autoconfigbackup/autoconfigbackup.php @@ -226,6 +226,8 @@ include("head.inc"); $ds = split("\+\+\+\+", $data); $revision = $_REQUEST['download']; $sha256sum = $ds[0]; + if($sha256sum == "0") + $sha256sum = "None on file."; $data = $ds[1]; $configtype = "Encrypted"; if (!tagfile_deformat($data, $data, "config.xml")) |