Permalink
Browse files

MINOR Don't fail text collection for modules without any matching PHP…

… files (only _config.php)
  • Loading branch information...
1 parent 7b18d9d commit 0597e914ff5792b79fe0830184624c044c4dcbab @chillu chillu committed May 1, 2012
Showing with 1 addition and 0 deletions.
  1. +1 −0 i18n/i18nTextCollector.php
@@ -162,6 +162,7 @@ protected function processModule($module) {
//Debug::message("Processing Module '{$module}'", false);
// Search for calls in code files if these exists
+ $fileList = array();
if(is_dir("$this->basePath/$module/code")) {
$fileList = $this->getFilesRecursive("$this->basePath/$module/code");
} else if($module == FRAMEWORK_DIR || substr($module, 0, 7) == 'themes/') {

0 comments on commit 0597e91

Please sign in to comment.