how did this ever work o_O
This commit is contained in:
parent
21904794ea
commit
c1aa6f4fbb
1 changed files with 1 additions and 0 deletions
|
@ -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);
|
||||||
}
|
}
|
||||||
|
|
Reference in a new issue