how did this ever work o_O

This commit is contained in:
Shish 2012-01-27 17:29:59 +00:00
parent 21904794ea
commit c1aa6f4fbb

View file

@ -83,6 +83,7 @@ class Oekaki extends SimpleExtension {
// FIXME: "edit this image" button on existing images? // FIXME: "edit this image" button on existing images?
function onPostListBuilding($event) { function onPostListBuilding($event) {
global $user, $page;
if($this->can_upload($user)) { if($this->can_upload($user)) {
$this->theme->display_block($page); $this->theme->display_block($page);
} }