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.

CommentFileSizeAuthor
devel.module_2.patch363 bytesJohnAlbin
Support from Acquia helps fund testing for Drupal Acquia logo

Comments

moshe weitzman’s picture

Status: Needs review » Fixed

i 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.

Anonymous’s picture

Status: Fixed » Closed (fixed)