diff options
author | Bharat Mediratta <bharat@menalto.com> | 2008-12-09 00:50:58 +0000 |
---|---|---|
committer | Bharat Mediratta <bharat@menalto.com> | 2008-12-09 00:50:58 +0000 |
commit | 5ae606786a5708cf749ae8c3d02d88e8e09c0c23 (patch) | |
tree | 79029f851eb09eb91cc90966e5f171f8f8e48178 | |
parent | f69f3967ea816c6231fdf8689182b8a8dfe715c8 (diff) |
update call from access::can() -> access::group_can()
-rw-r--r-- | core/views/welcome.html.php | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/core/views/welcome.html.php b/core/views/welcome.html.php index 748bc074..a0c4500b 100644 --- a/core/views/welcome.html.php +++ b/core/views/welcome.html.php @@ -354,7 +354,7 @@ <?= html::anchor("albums/{$current->album->id}", $current->album->title) ?> » <? foreach (array("view", "edit") as $perm): ?> - <? if (access::can(group::EVERYBODY, $perm, $current->album->id)): ?> + <? if (access::group_can(group::EVERYBODY, $perm, $current->album->id)): ?> <?= html::anchor("welcome/deny_perm/0/$perm/{$current->album->id}", strtoupper($perm), array("class" => "allowed")) ?> <? else: ?> <?= html::anchor("welcome/add_perm/0/$perm/{$current->album->id}", strtolower($perm), array("class" => "denied")) ?> |