Download & Extend

Patch applied in released dated 2007-04-24.

Project:Click2Bookmark
Version:5.x-1.x-dev
Component:Code
Category:bug report
Priority:critical
Assigned:toma
Status:closed (fixed)

Issue Summary

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...

Comments

#1

Same error message here.

#2

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

Status:active» needs review

#4

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

#5

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

Status:fixed» closed (fixed)
nobody click here