Patch applied in released dated 2007-04-24.

toma - April 5, 2007 - 23:47
Project:Click2Bookmark
Version:5.x-1.x-dev
Component:Code
Category:bug report
Priority:critical
Assigned:toma
Status:closed
Description

Hi

Thanks for this module, i set everything in my config administration, when i click some nodes to be bookmarked, i receive only this message

This content can't be bookmarked...

#1

AzMoDaN - April 7, 2007 - 23:05

Same error message here.

#2

axel - April 12, 2007 - 11:28

Funny typo. Fix here:

--- click2bookmark.module       2007-04-12 11:20:59 +0000
+++ click2bookmark.module       2007-04-12 11:27:25 +0000
@@ -78,7 +78,7 @@
     drupal_set_message(t('This content can\'t be bookmarked...'));
     return false;
   }
-  if (variable_get(CLICK2BOOKMARK_NODE_TYPE . $node->type, 0)) {
+  if (!variable_get(CLICK2BOOKMARK_NODE_TYPE . $node->type, 0)) {
     drupal_set_message(t('This content can\'t be bookmarked...'));
     return false;
   }
@@ -266,4 +266,4 @@
   };
   return theme_links($links, array('class' => 'click2bookmark-block-links'));

-}
\ No newline at end of file
+}

#3

axel - April 12, 2007 - 11:29
Status:active» needs review

#4

freeman - April 21, 2007 - 19:15

Hi,
Have installed Axel's change, and issue seems resolved.

#5

ericdes - April 24, 2007 - 07:42
Title:This content can't be bookmarked» Patch applied in released dated 2007-04-24.
Status:needs review» fixed

Applied Axel's patch in release dated 2007-04-24.

#6

Anonymous - May 8, 2007 - 07:46
Status:fixed» closed
 
 

Drupal is a registered trademark of Dries Buytaert.