Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

Fix regression with admin permission check

  • Loading branch information...
commit 0281b7cc67cfc1fdb844f6323d70e4c1afdf9245 1 parent f48c917
@BluSyn BluSyn authored
Showing with 1 addition and 1 deletion.
  1. +1 −1  content/admin.inc.php
View
2  content/admin.inc.php
@@ -34,7 +34,7 @@
// Supports restricting based on specific user permission
if (tw_isloaded('user') && isset($item['perms'])) {
- if (!check_user($item['perms'])) continue;
+ if (!user_hasperm($item['perms'])) continue;
}
$T['content'] .= '
Please sign in to comment.
Something went wrong with that request. Please try again.