diff options
author | Bharat Mediratta <bharat@menalto.com> | 2011-01-19 19:50:50 -0800 |
---|---|---|
committer | Bharat Mediratta <bharat@menalto.com> | 2011-01-19 19:50:50 -0800 |
commit | 0126a0385d5a763b4920bc9ffe63ed9ec03d64f0 (patch) | |
tree | c120b7cb754a72cac8ee70f742d0f7c1c8635c2b /modules | |
parent | 265e39fb57537d73302da620c1be542f3246dfcc (diff) |
Fix a bug introduced in 65ff2470a505fbc18211093ac131c29b1e820c3e,
clearly I didn't test this enough. Further fix for #1460.
Diffstat (limited to 'modules')
-rw-r--r-- | modules/server_add/controllers/server_add.php | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/modules/server_add/controllers/server_add.php b/modules/server_add/controllers/server_add.php index 71688605..11d4cb0a 100644 --- a/modules/server_add/controllers/server_add.php +++ b/modules/server_add/controllers/server_add.php @@ -169,7 +169,7 @@ class Server_Add_Controller extends Admin_Controller { $child_paths = glob(preg_quote($entry->path) . "/*"); if (!$child_paths) { - $child_paths = glob("$path/*"); + $child_paths = glob("{$entry->path}/*"); } foreach ($child_paths as $child_path) { if (!is_dir($child_path)) { |