summaryrefslogtreecommitdiff
path: root/kolab.org/www/drupal-7.15/sites/all/modules/views/plugins/views_plugin_access_perm.inc
diff options
context:
space:
mode:
Diffstat (limited to 'kolab.org/www/drupal-7.15/sites/all/modules/views/plugins/views_plugin_access_perm.inc')
-rw-r--r--kolab.org/www/drupal-7.15/sites/all/modules/views/plugins/views_plugin_access_perm.inc9
1 files changed, 8 insertions, 1 deletions
diff --git a/kolab.org/www/drupal-7.15/sites/all/modules/views/plugins/views_plugin_access_perm.inc b/kolab.org/www/drupal-7.15/sites/all/modules/views/plugins/views_plugin_access_perm.inc
index c1b473b..7279d7d 100644
--- a/kolab.org/www/drupal-7.15/sites/all/modules/views/plugins/views_plugin_access_perm.inc
+++ b/kolab.org/www/drupal-7.15/sites/all/modules/views/plugins/views_plugin_access_perm.inc
@@ -1,7 +1,14 @@
<?php
/**
+ * @file
+ * Definition of views_plugin_access_perm.
+ */
+
+/**
* Access plugin that provides permission-based access control.
+ *
+ * @ingroup views_access_plugins
*/
class views_plugin_access_perm extends views_plugin_access {
function access($account) {
@@ -42,7 +49,7 @@ class views_plugin_access_perm extends views_plugin_access {
}
}
- asort($perms);
+ ksort($perms);
$form['perm'] = array(
'#type' => 'select',