Project

General

Profile

« Previous | Next » 

Revision 945

Fixed: error on admin/info if there's more than 1 plugin installed.

View differences:

trunk/app/views/admin/info.rhtml
12 12
 
13 13
<h3 class="icon22 icon22-plugin">Plugins</h3>
14 14
<table class="list">
15
    <% @plugins.keys.sort.each do |plugin| %>
15
    <% @plugins.keys.sort {|x,y| x.to_s <=> y.to_s}.each do |plugin| %>
16 16
        <tr class="<%= cycle('odd', 'even') %>">
17 17
        <td><%=h @plugins[plugin].name %></td>
18 18
        <td><%=h @plugins[plugin].description %></td>

Also available in: Unified diff