2012-04-17 Sergio Martin <sergio.martin@artica.es>

* include/functions.php: Stripped # character in a 
	string before converted it to image 3504479



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@5991 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
This commit is contained in:
zarzuelo 2012-04-17 09:36:28 +00:00
parent af7ddc7bf2
commit 82eb1e9407
2 changed files with 8 additions and 1 deletions

View File

@ -1,3 +1,8 @@
2012-04-17 Sergio Martin <sergio.martin@artica.es>
* include/functions.php: Stripped # character in a
string before converted it to image 3504479
2012-04-16 Vanessa Gil <vanessa.gil@artica.es>
* operation/tree.php

View File

@ -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);