From 5319953a0abc3685c0707861faf1256b37523bbc Mon Sep 17 00:00:00 2001 From: Graham Knop Date: Tue, 14 Oct 2008 15:25:31 +0000 Subject: [PATCH] restore old export path even if empty --- t/Asset/AssetExportHtml.t | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/t/Asset/AssetExportHtml.t b/t/Asset/AssetExportHtml.t index c259387f3..1e8e05f68 100644 --- a/t/Asset/AssetExportHtml.t +++ b/t/Asset/AssetExportHtml.t @@ -1017,7 +1017,7 @@ END { # restore the original exportPath setting, now that we're done testing # exportCheckPath. - $session->config->set('exportPath', $originalExportPath) if $originalExportPath; + $session->config->set('exportPath', $originalExportPath); # we created a couple of assets; roll them back so they don't stick around $versionTag->rollback();