Fixes regression introduced by 8e8797457d
This commit is contained in:
parent
9c0826f38d
commit
9a125ef448
1 changed files with 1 additions and 1 deletions
|
@ -914,7 +914,7 @@ if( !empty($_POST['opml_file']) && ALLOW_NEW_AUTOBLOGS && ALLOW_NEW_AUTOBLOGS_BY
|
|||
foreach($subdirs as $unit)
|
||||
{
|
||||
if(!is_dir($unit) || file_exists( $unit . '/index.html' ) || file_exists( $unit . '/index.htm' ) || file_exists( $unit . '/index.php' ) ) {
|
||||
$docs[] = '<a href="'. urlencode($unit) . '">'. substr($unit, (strrpos($unit, '/')) + 1 ) .'</a>';
|
||||
$docs[] = '<a href="'. preg_replace('~ ~', '%20', $unit) . '">'. substr($unit, (strrpos($unit, '/')) + 1 ) .'</a>';
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue