diff --git a/contrib/random_image/main.php b/contrib/random_image/main.php index 23ec6623..5a77bb25 100644 --- a/contrib/random_image/main.php +++ b/contrib/random_image/main.php @@ -24,7 +24,7 @@ class RandomImage extends Extension { public function onPageRequest(PageRequestEvent $event) { global $config, $database, $page, $user; if($event->page_matches("random_image")) { - var $action; + $action = ''; if($event->count_args() == 1) { $action = $event->get_arg(0); $search_terms = array();