diff options
Diffstat (limited to 'core/helpers/core_block.php')
-rw-r--r-- | core/helpers/core_block.php | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/core/helpers/core_block.php b/core/helpers/core_block.php index 5bc469b5..45cc2026 100644 --- a/core/helpers/core_block.php +++ b/core/helpers/core_block.php @@ -29,7 +29,7 @@ class core_block_Core { $profiler->render(); } - if (access::can("edit", $theme->item()->id)) { + if (access::can("edit", $theme->item())) { return new View("in_place_edit.html"); } } |