summaryrefslogtreecommitdiff
path: root/modules
diff options
context:
space:
mode:
authorDries Buytaert <dries@buytaert.net>2004-02-21 19:16:07 +0000
committerDries Buytaert <dries@buytaert.net>2004-02-21 19:16:07 +0000
commit4cb727972180aca5163d652d306183b2fabdf11c (patch)
treedfd567f6f8b0ee8bb9e39e582f639376fe2fce3f /modules
parent9d3d374bc885b8771a013352b8e2c6b7625324d8 (diff)
downloadbrdo-4cb727972180aca5163d652d306183b2fabdf11c.tar.gz
brdo-4cb727972180aca5163d652d306183b2fabdf11c.tar.bz2
- Patch by Gerhard: fixed incorrect regex in the taxonomy module.
Diffstat (limited to 'modules')
-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);