Flag module: Missing argument 2 for views_break_phrase()
This CodeLet depicts the patch which will replace the views_break_phrase() implementation in flag_plugin_argument_validate_flaggability.inc. However, the development release of flag module has already implemented this change. The changes has to be made because signature of views_break_phrase() has been changed.
Index: includes/flag_plugin_argument_validate_flaggability.inc
===================================================================
RCS file: /cvs/drupal-contrib/contributions/modules/flag/includes/Attic/flag_plugin_argument_validate_flaggability.inc,v
retrieving revision 1.1.2.3
diff -u -p -r1.1.2.3 flag_plugin_argument_validate_flaggability.inc
--- includes/flag_plugin_argument_validate_flaggability.inc 3 Dec 2008 14:10:00 -0000 1.1.2.3
+++ includes/flag_plugin_argument_validate_flaggability.inc 20 Apr 2010 08:44:44 -0000
@@ -169,7 +169,7 @@ class flag_plugin_argument_validate_flag
}
}
- $ids = views_break_phrase($argument);
+ $ids = views_break_phrase($argument, $this);
if ($ids->value == array(-1)) {
// Malformed argument syntax. Invalidate.
return FALSE;
- Login or register to post comments
- 2140 reads
-
Your feedback





Recent comments
20 weeks 6 days ago
39 weeks 3 days ago
41 weeks 1 day ago
50 weeks 4 days ago
1 year 2 weeks ago
1 year 3 weeks ago
1 year 3 weeks ago
1 year 3 weeks ago
1 year 3 weeks ago
1 year 4 weeks ago