Commit 1f70473a authored by Dries's avatar Dries

- Fixed bug in taxonomy module. Patch by Gerhard.

parent 3ad7449b
......@@ -747,7 +747,7 @@ function taxonomy_admin() {
$output .= status(taxonomy_save_vocabulary($edit));
}
else {
return status(taxonomy_save_term($edit));
$output .= status(taxonomy_save_term($edit));
if (!$edit["tid"]) {
// if INSERT show form again
$output .= taxonomy_form_term();
......@@ -763,6 +763,7 @@ function taxonomy_admin() {
else {
$output .= message_access();
}
return $output;
}
......@@ -825,4 +826,4 @@ function taxonomy_help() {
<p>Every term, or collection of terms, provides an <a href="http://backend.userland.com/stories/rss091">RSS</a> feed to which interested users may subscribe. The URL format for an sample RSS feed is <a href="<?php print url("node/feed/or/1,2"); ?>"><?php print url("node/feed/or/1,2"); ?></a>.</p>
<?php
}
?>
\ No newline at end of file
?>
......@@ -747,7 +747,7 @@ function taxonomy_admin() {
$output .= status(taxonomy_save_vocabulary($edit));
}
else {
return status(taxonomy_save_term($edit));
$output .= status(taxonomy_save_term($edit));
if (!$edit["tid"]) {
// if INSERT show form again
$output .= taxonomy_form_term();
......@@ -763,6 +763,7 @@ function taxonomy_admin() {
else {
$output .= message_access();
}
return $output;
}
......@@ -825,4 +826,4 @@ function taxonomy_help() {
<p>Every term, or collection of terms, provides an <a href="http://backend.userland.com/stories/rss091">RSS</a> feed to which interested users may subscribe. The URL format for an sample RSS feed is <a href="<?php print url("node/feed/or/1,2"); ?>"><?php print url("node/feed/or/1,2"); ?></a>.</p>
<?php
}
?>
\ No newline at end of file
?>
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