diff options
author | Dries Buytaert <dries@buytaert.net> | 2005-12-14 20:10:45 +0000 |
---|---|---|
committer | Dries Buytaert <dries@buytaert.net> | 2005-12-14 20:10:45 +0000 |
commit | 764f1177efe7bafe5ab47b21968d4b0921c3896c (patch) | |
tree | b0d25865abedeed7d251bef5c43857e79bc6f210 /modules/taxonomy | |
parent | e53f58fbe0e6c033fce65bd0d7a76d25911ff158 (diff) | |
download | brdo-764f1177efe7bafe5ab47b21968d4b0921c3896c.tar.gz brdo-764f1177efe7bafe5ab47b21968d4b0921c3896c.tar.bz2 |
- Patch #40631 by Chris Johnson: is_array() slower than isset() or empty().
Diffstat (limited to 'modules/taxonomy')
-rw-r--r-- | modules/taxonomy/taxonomy.module | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/modules/taxonomy/taxonomy.module b/modules/taxonomy/taxonomy.module index 5b4bd3627..eda75a7b1 100644 --- a/modules/taxonomy/taxonomy.module +++ b/modules/taxonomy/taxonomy.module @@ -596,7 +596,7 @@ function taxonomy_node_save($nid, $terms) { // Free tagging vocabularies do not send their tids in the form, // so we'll detect them here and process them independently. - if ($terms['tags']) { + if (isset($terms['tags'])) { $typed_input = $terms['tags']; unset($terms['tags']); |