Skip to content

Commit

Permalink
fix for Sting index out of bounds problem
Browse files Browse the repository at this point in the history
  • Loading branch information
graemerocher committed Aug 13, 2009
1 parent 991cc37 commit e71d3fc
Showing 1 changed file with 1 addition and 1 deletion.
Expand Up @@ -46,7 +46,7 @@ class PluginController extends BaseWikiController {
switch (category) {
case 'all':
def allPlugins = Plugin.executeQuery("select p.name, p.title from Plugin p order by p.name", [cache:true])
currentPlugins = allPlugins.groupBy { it ? it[0][0].toUpperCase() : 'A' }
currentPlugins = allPlugins.groupBy { it[0] ? it[0][0].toUpperCase() : 'A' }
totalPlugins = allPlugins.size()
viewType = "all"
break;
Expand Down

0 comments on commit e71d3fc

Please sign in to comment.