summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--modules/taxonomy.module2
-rw-r--r--modules/taxonomy/taxonomy.module2
2 files changed, 2 insertions, 2 deletions
diff --git a/modules/taxonomy.module b/modules/taxonomy.module
index f426f09a1..56714971f 100644
--- a/modules/taxonomy.module
+++ b/modules/taxonomy.module
@@ -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);
diff --git a/modules/taxonomy/taxonomy.module b/modules/taxonomy/taxonomy.module
index f426f09a1..56714971f 100644
--- a/modules/taxonomy/taxonomy.module
+++ b/modules/taxonomy/taxonomy.module
@@ -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);