Active
Project:
Image watermark
Version:
5.x-1.x-dev
Component:
Code
Priority:
Minor
Category:
Bug report
Assigned:
Unassigned
Reporter:
Anonymous (not verified)
Created:
29 Aug 2007 at 12:38 UTC
Updated:
27 Oct 2019 at 22:12 UTC
For example, when GD is missing png support, an error message appears in the watermark configuration page, telling us that the imagepng function does not exist. But actually the function name does not appear, instead we can see the word $function. In the watermark.module file, line 210, the drupal_set_message() function makes use of quotes instead of double quotes, so the $function variable is not replaced in the string.
Comments
Comment #1
schnizZzla commented"drupal_set_message() function makes use of quotes instead of double quotes, so the $function variable is not replaced in the string."
thx, for the info. that must have happened, when I have optimized the code according to drupal coding standards... because normally we avoid using double quotes. So in this case a concatenation or double quotes should be used.