diff --git a/pandora_console/ChangeLog b/pandora_console/ChangeLog index 58a02c5d15..96ce5627cb 100644 --- a/pandora_console/ChangeLog +++ b/pandora_console/ChangeLog @@ -1,3 +1,8 @@ +2010-08-13 Sergio Martin + + * include/functions.php: Fixed a bug to generate the image + in string2image whenn the string contains a sharp (#) + 2010-08-12 Sergio Martin * extensions/agents_modules.php: Change the status of the agents (the first diff --git a/pandora_console/include/functions.php b/pandora_console/include/functions.php index 9d70e844ae..c5a3b717fc 100644 --- a/pandora_console/include/functions.php +++ b/pandora_console/include/functions.php @@ -1107,6 +1107,8 @@ function string2image($string, $width, $height, $fontsize = 3, $file_url = 'attachment/string2image-'.$string.'.gif'; imagegif($rotated, $file_url); imagedestroy($rotated); + + $file_url = str_replace('#','%23',$file_url); return $file_url; } ?>