Change to empty string.
This commit is contained in:
parent
06e648d3e4
commit
a43b407c41
@ -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();
|
||||||
|
Loading…
x
Reference in New Issue
Block a user