Ensure that the spool path is set

This commit is contained in:
Michael 2017-02-19 10:13:40 +00:00
parent 2bfc40d74c
commit 9251d2af6f
2 changed files with 7 additions and 4 deletions

View file

@ -27,7 +27,7 @@ function spool_post_run($argv, $argc) {
$path = get_spoolpath();
if (is_writable($path)){
if (($path != '') AND is_writable($path)){
if ($dh = opendir($path)) {
while (($file = readdir($dh)) !== false) {