Change to empty string.

This commit is contained in:
green-ponies (jgen) 2012-02-09 01:33:23 -05:00
parent 06e648d3e4
commit a43b407c41

View File

@ -24,7 +24,7 @@ class RandomImage extends Extension {
public function onPageRequest(PageRequestEvent $event) { public function onPageRequest(PageRequestEvent $event) {
global $config, $database, $page, $user; global $config, $database, $page, $user;
if($event->page_matches("random_image")) { if($event->page_matches("random_image")) {
var $action; $action = '';
if($event->count_args() == 1) { if($event->count_args() == 1) {
$action = $event->get_arg(0); $action = $event->get_arg(0);
$search_terms = array(); $search_terms = array();