Early Bird Registration for DrupalCon Portland 2024 is open! Register by 23:59 PST on 31 March 2024, to get $100 off your ticket.
The dpr() function says it's an alias for dprint_r() except that dprint_r() can return a string. Whereas dpr() never returns a string due a missing "return".
Since dpr(() doesn't seem to be used anywhere in devel.module, my first inclination would be to remove it entirely. But this patch fixes it rather than removes it.
Comment | File | Size | Author |
---|---|---|---|
devel.module_2.patch | 363 bytes | JohnAlbin | |
Comments
Comment #1
moshe weitzman CreditAttribution: moshe weitzman commentedi took the fix. dpr() is used by me and other developers al lthe time. it doesn't have to be used by other functions in this module to be useful . thanks john.
Comment #2
(not verified) CreditAttribution: commented