From ecfc4489ce61dbe67a222df56363d1110b27f6aa Mon Sep 17 00:00:00 2001 From: shish Date: Wed, 10 Dec 2008 02:35:09 +0000 Subject: [PATCH] brain fail git-svn-id: file:///home/shish/svn/shimmie2/trunk@1126 7f39781d-f577-437e-ae19-be835c7a54ca --- contrib/random_image/main.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/contrib/random_image/main.php b/contrib/random_image/main.php index a58e82df..514fcd8c 100644 --- a/contrib/random_image/main.php +++ b/contrib/random_image/main.php @@ -10,7 +10,7 @@ class RandomImage implements Extension { public function receive_event(Event $event) { if(($event instanceof PageRequestEvent) && $event->page_matches("random_image")) { - global $database; + global $config; global $database; if($event->count_args() == 1) {