Index: bio.install =================================================================== RCS file: /cvs/drupal-contrib/contributions/modules/bio/bio.install,v retrieving revision 1.1.2.5 diff -u -p -r1.1.2.5 bio.install --- bio.install 28 Jan 2008 07:43:33 -0000 1.1.2.5 +++ bio.install 28 Jan 2008 21:32:08 -0000 @@ -101,6 +101,19 @@ function bio_update_5100() { } /** + * Lock the bio type so that you can't change its internal type name. + * + * This prevents errors in the Views integration, among probably other things. + */ +function bio_update_5101() { + $ret = array(); + + $ret[] = update_sql("UPDATE {node_type} SET locked = TRUE WHERE type = 'bio'"); + + return $ret; +} + +/** * @} End of "defgroup bio-updates-5.x-1.x" */ Index: bio.module =================================================================== RCS file: /cvs/drupal-contrib/contributions/modules/bio/bio.module,v retrieving revision 1.2.2.25 diff -u -p -r1.2.2.25 bio.module --- bio.module 28 Jan 2008 08:30:13 -0000 1.2.2.25 +++ bio.module 28 Jan 2008 21:32:09 -0000 @@ -218,7 +218,7 @@ function bio_node_info() { 'has_body' => TRUE, 'custom' => TRUE, 'modified' => TRUE, - 'locked' => FALSE, + 'locked' => TRUE, ), ); }