set $text

This commit is contained in:
Denny Dai
2015-06-26 14:14:14 +08:00
parent d0391f4a7e
commit 1ab6510772
6 changed files with 8 additions and 7 deletions
+1 -1
View File
@@ -1,6 +1,6 @@
<?php
PluginList("help", "Ask for help");
if (preg_match("/^".TAG."help$/", $_GET['text'])) {
if (preg_match("/^".TAG."help$/", $text)) {
$plugin_list = HELP_BEGIN."\n";
foreach ($plugins as $value) {
$plugin_list .= "\n".$value;