Closed (duplicate)
Project:
Transliteration
Version:
7.x-3.x-dev
Component:
Code
Priority:
Normal
Category:
Bug report
Assigned:
Unassigned
Reporter:
Created:
18 Jul 2011 at 13:11 UTC
Updated:
16 Aug 2011 at 09:27 UTC
I'm using this module in combination with pathauto. For a project we are working on a installation profile where this module is enabled during installation. After the installation I get a warning a array is passed to the function
Warning: preg_match() expects parameter 2 to be string, array given in transliteration_process() (line 32 of /sites/all/modules/contrib/transliteration/transliteration.inc).
I created a patch to check if the param given is actually a string.
| Comment | File | Size | Author |
|---|---|---|---|
| check_string_before_processing.patch | 498 bytes | nico heulsen |
Comments
Comment #1
dotbrat commentedIt looks the same as #992268: transliteration_process() conflicts with hook_process()
Comment #2
wmostrey commentedIt's a much simpler but much needed check. I confirm this patch to work as expected.
Comment #3
simon georges commentedDid you use the -dev version ? #1126514: preg_match() expects parameter 2 to be string, array given in transliteration_process indicates it's already fixed in it. Duplicate ?
Comment #4
wmostrey commentedIt is indeed fixed in the dev version, marking as a duplicate for #1126514: preg_match() expects parameter 2 to be string, array given in transliteration_process.