Commit dbedeb9fad21e814333ced5aee48291c7f82ae70
1 parent
d1ab5571
Exists in
master
and in
5 other branches
software-catalog: Fix bug, uninitialized constant SearchHelper::COMMON_PROFILE_LIST_BLOCK
Signed-off-by: Fabio Teixeira <fabio1079@gmail.com>
Showing
1 changed file
with
2 additions
and
1 deletions
Show diff stats
lib/ext/search_helper.rb
@@ -2,6 +2,7 @@ require_dependency 'search_helper' | @@ -2,6 +2,7 @@ require_dependency 'search_helper' | ||
2 | 2 | ||
3 | module SearchHelper | 3 | module SearchHelper |
4 | 4 | ||
5 | - COMMON_PROFILE_LIST_BLOCK << :software_infos | 5 | + COMMON_PROFILE_LIST_BLOCK ||= [] |
6 | + COMMON_PROFILE_LIST_BLOCK << :software_infos | ||
6 | 7 | ||
7 | end | 8 | end |
8 | \ No newline at end of file | 9 | \ No newline at end of file |