If user has putted the wrong indicator (have made a typo, which often happens) in content of some fields then the module produce errors.
For example if I put in content the following pattern [[nodetitl:ohaio]] instead of [[nodetitle:ohaio]] then I will end up with the following errors:
Warning: Missing argument 2 for l() in l() (line 2340 of includes/common.inc).
Notice: Undefined variable: path in l() (line 2351 of includes/common.inc).
Notice: Undefined variable: path in l() (line 2351 of includes/common.inc).
Notice: Undefined variable: path in l() (line 2393 of includes/common.inc).
And also module produce not quite nice replacement in text in such situation:
Plugin <em class="placeholder"></em> Not Found
| Comment | File | Size | Author |
|---|---|---|---|
| #1 | freelinking-1630072-1.patch | 584 bytes | ruslan.muradov |
Comments
Comment #1
ruslan.muradov commentedAnd here is the patch to fix the problem
Comment #2
ruslan.muradov commentedComment #3
gregglesI tested this one and was able to confirm the bug and the fix. Thanks, ruslan.muradov!
Comment #4
juampynr commentedCommitted. I was seeing the above errors on the test results and now are fixed too.
Many thanks!
http://drupalcode.org/project/freelinking.git/commitdiff/3884d5e
Comment #6
juampynr commentedBack-ported to 6.x-3.x.
http://drupalcode.org/project/freelinking.git/commitdiff/ca3f33a