Index: nodeprofile.module
===================================================================
RCS file: /cvs/drupal-contrib/contributions/modules/nodeprofile/nodeprofile.module,v
retrieving revision 1.7.2.26
diff -u -r1.7.2.26 nodeprofile.module
--- nodeprofile.module	12 Oct 2007 13:42:06 -0000	1.7.2.26
+++ nodeprofile.module	24 Oct 2007 14:52:15 -0000
@@ -365,7 +365,7 @@
         if ($style = nodeprofile_get_settings('user_display', $type)) {
           $output = array(
             '#type' => 'nodeprofile_display_'. nodeprofile_get_settings('user_display', $type),
-            '#tabs' => nodeprofile_get_settings('edit_link', $type) ? array('view', 'edit') : array('view'),
+            '#tabs' => nodeprofile_get_settings('edit_link', $type) ? array('view', 'edit') : '',
             '#uid' => $account->uid,
             '#content_type' => $type,
           );
