fix: move "$searchQuery" variable definition to be after constant check in the search page
This commit is contained in:
parent
3f0e74c96c
commit
971a377516
1 changed files with 1 additions and 1 deletions
|
@ -1,6 +1,6 @@
|
|||
<?php
|
||||
$searchQuery = isset($_GET['q']) && $_GET['q'] ? $_GET['q'] : "";
|
||||
if (!defined('SVRJS_MOD_DIRECTORY')) die;
|
||||
$searchQuery = isset($_GET['q']) && $_GET['q'] ? $_GET['q'] : "";
|
||||
$pageTitle = $searchQuery ? "$searchQuery - Search" : "Search";
|
||||
$pageDescription = "Search for SVR.JS mods";
|
||||
include 'header.php';
|
||||
|
|
Loading…
Reference in a new issue