diff options
| author | fisharebest <fisharebest@gmail.com> | 2010-09-23 15:50:59 +0000 |
|---|---|---|
| committer | fisharebest <fisharebest@gmail.com> | 2010-09-23 15:50:59 +0000 |
| commit | 8a5b13a3b97bcfbd28bab24aaf3b84ce2a23875c (patch) | |
| tree | 67cec7ba9a8ba51749d2f0bcacf02fab0fd9ffbf /pgv_to_wt.php | |
| parent | adb7247e22c8bb885849c700404fb25feaf87e6b (diff) | |
| download | webtrees-8a5b13a3b97bcfbd28bab24aaf3b84ce2a23875c.tar.gz webtrees-8a5b13a3b97bcfbd28bab24aaf3b84ce2a23875c.tar.bz2 webtrees-8a5b13a3b97bcfbd28bab24aaf3b84ce2a23875c.zip | |
pgv2wt - PHP error when no PGV directories found
Diffstat (limited to 'pgv_to_wt.php')
| -rw-r--r-- | pgv_to_wt.php | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/pgv_to_wt.php b/pgv_to_wt.php index fb8d364a9d..f9b7848162 100644 --- a/pgv_to_wt.php +++ b/pgv_to_wt.php @@ -120,7 +120,7 @@ if ($error || empty($PGV_PATH)) { } // Look for PGV in some nearby directories - $pgv_dirs=''; + $pgv_dirs=array(); $dir=opendir(realpath('..')); while (($subdir=readdir($dir))!==false) { if (is_dir('../'.$subdir) && preg_match('/pgv|gedview/i', $subdir) && file_exists('../'.$subdir.'/config.php')) { |
