Skip to content
Snippets Groups Projects
Commit 4cb72797 authored by Dries Buytaert's avatar Dries Buytaert
Browse files

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

parent 9d3d374b
No related branches found
No related tags found
2 merge requests!7452Issue #1797438. HTML5 validation is preventing form submit and not fully...,!789Issue #3210310: Adjust Database API to remove deprecated Drupal 9 code in Drupal 10
......@@ -725,7 +725,7 @@ function taxonomy_page() {
$taxonomy->str_tids = check_query(arg(3));
$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)) {
case "feed":
taxonomy_feed($taxonomy);
......
......@@ -725,7 +725,7 @@ function taxonomy_page() {
$taxonomy->str_tids = check_query(arg(3));
$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)) {
case "feed":
taxonomy_feed($taxonomy);
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment