Selaa lähdekoodia

Fix a regexp typo.

Joe Clarke 7 vuotta sitten
vanhempi
commit
eb184521ed
1 muutettua tiedostoa jossa 1 lisäystä ja 1 poistoa
  1. 1 1
      www/logicsw.php

+ 1 - 1
www/logicsw.php

@@ -176,7 +176,7 @@ if (isset($_REQUEST['filter'])) {
             } else {
                 $wc = " WHERE pid = '{$match[1]}'";
             }
-        } elseif (preg_match("/^mdf:([\w\d-_]+/", $_REQUEST['filter'], $match)) {
+        } elseif (preg_match("/^mdf:([\w\d-_]+)/", $_REQUEST['filter'], $match)) {
             if (array_search($match[1], $MDFS) === false) {
                 $wc = '';
             } else {