[svn-commits] russell: mantis/trunk r133 - /mantis/trunk/license_pending.php
SVN commits to the Digium repositories
svn-commits at lists.digium.com
Fri Oct 2 16:21:03 CDT 2009
Author: russell
Date: Fri Oct 2 16:21:00 2009
New Revision: 133
URL: http://svnview.digium.com/svn/thirdparty?view=rev&rev=133
Log:
let's try this for the CSV access
Modified:
mantis/trunk/license_pending.php
Modified: mantis/trunk/license_pending.php
URL: http://svnview.digium.com/svn/thirdparty/mantis/trunk/license_pending.php?view=diff&rev=133&r1=132&r2=133
==============================================================================
--- mantis/trunk/license_pending.php (original)
+++ mantis/trunk/license_pending.php Fri Oct 2 16:21:00 2009
@@ -44,9 +44,10 @@
require_once( $t_core_path . "current_user_api.php" );
require_once( $t_core_path . "license_api.php" );
- access_ensure_global_level( ADMINISTRATOR );
+ access_ensure_global_level( config_get( 'view_pending_threshold') );
$t_manage = access_has_global_level( config_get( 'manage_pending_threshold' ) );
+ $t_is_admin = access_has_global_level( ADMINISTRATOR );
if (count($_POST) && !$t_manage)
access_denied();
@@ -82,7 +83,7 @@
</script>
<?php
echo "<br />\n";
- if ($t_manage) {
+ if ($t_is_admin) {
print_bracket_link( 'license_csv.php', 'CSV export of all license information' );
}
echo "<br /><br />\n";
More information about the svn-commits
mailing list