Commit 4cb72797 authored by Dries's avatar Dries
Browse files

- Patch by Gerhard: fixed incorrect regex in the taxonomy module.

parent 9d3d374b
...@@ -725,7 +725,7 @@ function taxonomy_page() { ...@@ -725,7 +725,7 @@ function taxonomy_page() {
$taxonomy->str_tids = check_query(arg(3)); $taxonomy->str_tids = check_query(arg(3));
$taxonomy->tids = explode(",", $taxonomy->str_tids); $taxonomy->tids = explode(",", $taxonomy->str_tids);
if (ereg("^([0-9],){0,}[0-9]+$", $taxonomy->str_tids)) { if (ereg("^([0-9]+,){0,}[0-9]+$", $taxonomy->str_tids)) {
switch (arg(1)) { switch (arg(1)) {
case "feed": case "feed":
taxonomy_feed($taxonomy); taxonomy_feed($taxonomy);
......
...@@ -725,7 +725,7 @@ function taxonomy_page() { ...@@ -725,7 +725,7 @@ function taxonomy_page() {
$taxonomy->str_tids = check_query(arg(3)); $taxonomy->str_tids = check_query(arg(3));
$taxonomy->tids = explode(",", $taxonomy->str_tids); $taxonomy->tids = explode(",", $taxonomy->str_tids);
if (ereg("^([0-9],){0,}[0-9]+$", $taxonomy->str_tids)) { if (ereg("^([0-9]+,){0,}[0-9]+$", $taxonomy->str_tids)) {
switch (arg(1)) { switch (arg(1)) {
case "feed": case "feed":
taxonomy_feed($taxonomy); taxonomy_feed($taxonomy);
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment