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>
|
||||
|
||||
* operation/tree.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);
|
||||
|
|
Loading…
Reference in New Issue