From c1aa6f4fbbb25b9bbe97be7572f142e0d5c500ea Mon Sep 17 00:00:00 2001 From: Shish Date: Fri, 27 Jan 2012 17:29:59 +0000 Subject: [PATCH] how did this ever work o_O --- contrib/oekaki/main.php | 1 + 1 file changed, 1 insertion(+) diff --git a/contrib/oekaki/main.php b/contrib/oekaki/main.php index 7fda9a34..7a571242 100644 --- a/contrib/oekaki/main.php +++ b/contrib/oekaki/main.php @@ -83,6 +83,7 @@ class Oekaki extends SimpleExtension { // FIXME: "edit this image" button on existing images? function onPostListBuilding($event) { + global $user, $page; if($this->can_upload($user)) { $this->theme->display_block($page); }