From 10a830a6da1de9d69a279cf75db660c7df36afeb Mon Sep 17 00:00:00 2001 From: Scott Ullrich Date: Sun, 7 Dec 2008 06:40:39 +0000 Subject: Instead of showing 0 as sha256sum (before feature arrived) show that none is on file. --- packages/autoconfigbackup/autoconfigbackup.php | 2 ++ 1 file changed, 2 insertions(+) (limited to 'packages/autoconfigbackup/autoconfigbackup.php') 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")) -- cgit v1.2.3