summaryrefslogtreecommitdiff
path: root/backend.php
diff options
context:
space:
mode:
Diffstat (limited to 'backend.php')
-rw-r--r--backend.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/backend.php b/backend.php
index 027c7060d..9e47ac38c 100644
--- a/backend.php
+++ b/backend.php
@@ -204,7 +204,7 @@
print "<tr>
<td colspan=\"3\" class=\"title\">" . $line["title"] . "</td></tr>";
- if ($ext == "SEARCH") {
+ if ($subop == "search") {
$search = $_GET["search"];
$search_query_part = "(upper(title) LIKE upper('%$search%')
OR content LIKE '%$search%') AND";