diff --git a/pandora_console/ChangeLog b/pandora_console/ChangeLog index c179a01547..92bac19ed7 100644 --- a/pandora_console/ChangeLog +++ b/pandora_console/ChangeLog @@ -1,3 +1,8 @@ +2012-04-17 Sergio Martin + + * include/functions.php: Stripped # character in a + string before converted it to image 3504479 + 2012-04-16 Vanessa Gil * operation/tree.php diff --git a/pandora_console/include/functions.php b/pandora_console/include/functions.php index 38bfc43cca..28bc0f29dc 100644 --- a/pandora_console/include/functions.php +++ b/pandora_console/include/functions.php @@ -1228,7 +1228,9 @@ function string2image($string, $width, $height, $fontsize = 3, $padding_left = 4, $padding_top = 1, $home_url = '') { global $config; - + + $string = str_replace('#','',$string); + //Set the size of image from the size of text if ($width === false) { $size = calculateTextBox($fontsize, 0, $config['fontpath'], $string);