Index: og_galleries.module
===================================================================
--- og_galleries.module (revision 137)
+++ og_galleries.module (working copy)
@@ -18,7 +18,7 @@
Go to !views_link and create a views view to use as the default galleries page.
A default view is provided, but it can be altered or you can create
your own. An OG Galleries view must have the following components:
- - Three arguments, the OG Galleries group id and two taxonomy term ids.
+ - Two arguments, the OG Galleries group id and one taxonomy term id.
- A page type of OG Galleries. This will create configurable themes for the view.
- A page url, which will become the url to view the OG Galleries.
- Optional, for a block view set the block type to OG Galleries, too. This will create configurable themes for the block view.
@@ -947,8 +947,8 @@
if (!isset($has_gid)) {
form_set_error('argument', t('There must be an OG Galleries: Group nid argument for an OG Galleries view.'));
}
- if (sizeof($has_tid) < 2) {
- form_set_error('argument', t('There must be two Taxonomy: Term ID arguments following the Group Id for an OG Galleries view.'));
+ if (sizeof($has_tid) < 1) {
+ form_set_error('argument', t('There must be one Taxonomy: Term ID arguments following the Group Id for an OG Galleries view.'));
}
views_invalidate_cache();
}