Closed (duplicate)
Project:
Custom Breadcrumbs
Version:
6.x-1.x-dev
Component:
Code
Priority:
Normal
Category:
Bug report
Assigned:
Unassigned
Reporter:
Created:
6 Dec 2008 at 13:25 UTC
Updated:
8 Dec 2008 at 19:11 UTC
In custom_breadcrumbs.admin.inc at line 123 you have
form_set_error(t('Every link path must have a matching title. There are !paths paths, and !titles titles.', array('!paths' => $path_count, '!titles' => $title_count)));
but the definition in D6 is form_set_error($name = NULL, $message = '', $reset = FALSE), so your the code should look something like:
form_set_error('titles', t('Every link path must have a matching title. There are !paths paths, and !titles titles.', array('!paths' => $path_count, '!titles' => $title_count)));
Comments
Comment #1
MGN commentedA patch for this is already RTBC at #306637: Trim data before comparing - and validator tip, marking this a duplicate.