Skip to content

Commit

Permalink
Merge pull request #108 from cosmocode/bugfix/twoSchemaDynFilter
Browse files Browse the repository at this point in the history
Skip undefined schemas when search for columns
  • Loading branch information
splitbrain committed Jun 22, 2016
2 parents 67164df + 4ac44d1 commit ec22464
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions meta/Search.php
Original file line number Diff line number Diff line change
Expand Up @@ -366,6 +366,9 @@ public function findColumn($colname) {
// find it
$col = false;
foreach($schemas as $schema) {
if(empty($schema)) {
continue;
}
$col = $schema->findColumn($colname);
if($col) break;
}
Expand Down

0 comments on commit ec22464

Please sign in to comment.