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:
parent
af7ddc7bf2
commit
82eb1e9407
|
@ -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>
|
2012-04-16 Vanessa Gil <vanessa.gil@artica.es>
|
||||||
|
|
||||||
* operation/tree.php
|
* operation/tree.php
|
||||||
|
|
|
@ -1229,6 +1229,8 @@ function string2image($string, $width, $height, $fontsize = 3,
|
||||||
|
|
||||||
global $config;
|
global $config;
|
||||||
|
|
||||||
|
$string = str_replace('#','',$string);
|
||||||
|
|
||||||
//Set the size of image from the size of text
|
//Set the size of image from the size of text
|
||||||
if ($width === false) {
|
if ($width === false) {
|
||||||
$size = calculateTextBox($fontsize, 0, $config['fontpath'], $string);
|
$size = calculateTextBox($fontsize, 0, $config['fontpath'], $string);
|
||||||
|
|
Loading…
Reference in New Issue