Browse files

Fix a bug introduced in 65ff247,

clearly I didn't test this enough.  Further fix for #1460.
  • Loading branch information...
1 parent 265e39f commit 0126a0385d5a763b4920bc9ffe63ed9ec03d64f0 @bharat bharat committed Jan 20, 2011
Showing with 1 addition and 1 deletion.
  1. +1 −1 modules/server_add/controllers/server_add.php
View
2 modules/server_add/controllers/server_add.php
@@ -169,7 +169,7 @@ static function add($task) {
$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)) {

0 comments on commit 0126a03

Please sign in to comment.