- Patch #162829 by swentel and bennybobw: fixed problem with saving taxonomy terms.

6.x
Dries Buytaert 2007-08-02 10:25:21 +00:00
parent bf7a70f98c
commit fe7faf76c2
1 changed files with 1 additions and 1 deletions

View File

@ -153,7 +153,7 @@ function taxonomy_admin_vocabulary_edit($vocabulary) {
* Page to edit a vocabulary term.
*/
function taxonomy_admin_term_edit($tid) {
if ((isset($_POST['op']) && $_POST['op']) == t('Delete') || isset($_POST['confirm'])) {
if ((isset($_POST['op']) && $_POST['op'] == t('Delete')) || isset($_POST['confirm'])) {
return drupal_get_form('taxonomy_term_confirm_delete', $tid);
}
if ($term = (array)taxonomy_get_term($tid)) {