? 6-update.diff
? 6x-clone-view-sdo543-4.patch
? 6x-clone-view-sdo543-6.patch
? README-254328-5.patch
? clone-own-231997-6x-14.patch
? clone-views_0.patch
? general-settings-254482.patch
? reorder-checks-362370-1.patch
? robots.txt
? save-edit-254398-1.patch
? views-clone-link-220925-8.patch
Index: README.txt
===================================================================
RCS file: /cvs/drupal-contrib/contributions/modules/node_clone/README.txt,v
retrieving revision 1.12
diff -u -p -r1.12 README.txt
--- README.txt	15 Oct 2008 18:39:44 -0000	1.12
+++ README.txt	22 Jan 2009 02:49:45 -0000
@@ -7,17 +7,17 @@ that copy. The authorship is set to the 
 are reset, and the (localized) words "Clone of" are inserted into the title to
 remind you that you are not editing the original node.
 
-Users with the "clone node" or "clone own nodes" permission can utilize this 
-functionality. A new tab will appear on node pages with the word "Clone".  
-Depending on the setting you choose there are two possible actions that will 
+Users with the "clone node" or "clone own nodes" permission can utilize this
+functionality. A new tab will appear on node pages with the word "Clone".
+Depending on the setting you choose there are two possible actions that will
 occur when you click that tab. Each of these is a different cloning "method".
 
-The default method (used in the 5.x-2.x branch also) works by pre-populating the 
-node form, rather than immediately saving a copy of the original node to the 
-database.  Thus, your node will not be saved until you hit "Submit" (just like 
+The default method (used in the 5.x-2.x branch also) works by pre-populating the
+node form, rather than immediately saving a copy of the original node to the
+database.  Thus, your node will not be saved until you hit "Submit" (just like
 if you went to node/add/x).
 
-The alternative method that may be selected immediately saves the node (by 
+The alternative method that may be selected immediately saves the node (by
 default the user must confirm this action on a confirmation form). This may
 work better in some cases, but also means that the copied node may immediately
 show up on the front page or in RSS feeds even while you are editing it.
@@ -45,8 +45,8 @@ carefully or not allow access to the clo
 you rely on field-level permissions for important site features.
 
 To install this module, copy the folder with all the files to the
-/sites/all/modules  OR /sites/default/modules directory of your Drupal 
-installation and enable it at /admin/build/modules.  Two new permissions are 
+/sites/all/modules  OR /sites/default/modules directory of your Drupal
+installation and enable it at /admin/build/modules.  Two new permissions are
 available, but there are no changes to the database structure.
 
 Note: this module originally derived from code posted by Steve Ringwood
Index: clone.install
===================================================================
RCS file: /cvs/drupal-contrib/contributions/modules/node_clone/clone.install,v
retrieving revision 1.2
diff -u -p -r1.2 clone.install
--- clone.install	4 May 2008 00:23:21 -0000	1.2
+++ clone.install	22 Jan 2009 02:49:45 -0000
@@ -6,7 +6,7 @@
  * Implementation of hook_uninstall.
  */
 function clone_uninstall() {
-  
+
   variable_del('clone_method');
   variable_del('clone_omitted');
   variable_del('clone_nodes_without_confirm');
Index: clone.module
===================================================================
RCS file: /cvs/drupal-contrib/contributions/modules/node_clone/clone.module,v
retrieving revision 1.23
diff -u -p -r1.23 clone.module
--- clone.module	15 Oct 2008 18:39:44 -0000	1.23
+++ clone.module	22 Jan 2009 02:49:45 -0000
@@ -54,11 +54,11 @@ function clone_menu() {
 function clone_access($node) {
   global $user;
   // Check basic permissions first.
-  $access = (user_access('clone node') || ($user->uid && ($node->uid == $user->uid) && user_access('clone own nodes')));
+  $access = clone_is_permitted($node->type) && (user_access('clone node') || ($user->uid && ($node->uid == $user->uid) && user_access('clone own nodes')));
+  // Check additional conditions
+  $access = $access && (filter_access($node->format) && node_access('create', $node->type));
   // Make sure the user can view the original node content.
   $access = $access && node_access('view', $node);
-  // Check additional conditions
-  $access = $access && (clone_is_permitted($node->type) && filter_access($node->format) && node_access('create', $node->type));
   // Let other modules alter this - for exmple to only allow some users
   // to clone specific nodes or types.
   drupal_alter("clone_access", $access, $node);
