diff --git a/source/Reference/filters/admin_dashboard_stats.rst b/source/Reference/filters/admin_dashboard_stats.rst index 79be5664..5e2aef2b 100644 --- a/source/Reference/filters/admin_dashboard_stats.rst +++ b/source/Reference/filters/admin_dashboard_stats.rst @@ -35,7 +35,8 @@ The structure of the items in the ``$stats`` array changed in Omeka 3.1. In 3.1 each array entry should follow this pattern: .. code-block:: php - $stats['items'] = array(total_records('Item'), __('items')); + + $stats['items'] = array(total_records('Item'), __('items')); The array key is a record type that is passed to :php:func:`link_to`, and the value array's two items are first the number to display, and second the label.