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

git-svn-id: http://svn.automattic.com/wordpress/trunk@15166 1a063a9b-81f0-0310-95a4-ce76da25c4cd
This commit is contained in:
dd32 2010-06-08 11:02:17 +00:00
parent 1d16e3de6e
commit a0729014b8
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( $theme_dir );
@closedir( $themes_dir );
}
return $theme_files;
}