restore old export path even if empty

This commit is contained in:
Graham Knop 2008-10-14 15:25:31 +00:00
parent d71dc4dd2d
commit 5319953a0a

View file

@ -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();