Skip to content
Snippets Groups Projects
Commit 20f9438f authored by Jim Berry's avatar Jim Berry
Browse files

Issue #1789466: Add file entries to info file for classes in modules contained in subdirectories.

parent 4fbc7579
No related branches found
No related tags found
No related merge requests found
......@@ -131,7 +131,7 @@ function coder_upgrade_add_file_entries($dirname = '', $files = array(), &$items
if ($extension == 'php' && substr($file, -8) == '.tpl.php') {
// Exclude template files.
}
elseif (in_array($extension, $extensions) && in_array($_coder_upgrade_dirname . '/' . $path . $file, $_coder_upgrade_class_files)) {
elseif (in_array($extension, $extensions) && in_array($dirname . '/' . $file, $_coder_upgrade_class_files)) {
$items[] = $path . $file;
}
elseif ($extension == 'info') {
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment