Use the correct variable name. Props ScottMac. Fixes #13778

git-svn-id: https://develop.svn.wordpress.org/trunk@15166 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
Dion Hulse 2010-06-08 11:02:17 +00:00
parent 1752cea413
commit f178115189
1 changed files with 1 additions and 2 deletions

View File

@ -634,8 +634,7 @@ function search_theme_directories() {
} }
} }
} }
if ( is_dir( $theme_dir ) ) @closedir( $themes_dir );
@closedir( $theme_dir );
} }
return $theme_files; return $theme_files;
} }