2010-08-13 Sergio Martin <sergio.martin@artica.es>
* include/functions.php: Fixed a bug to generate the image in string2image whenn the string contains a sharp (#) git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@3138 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
This commit is contained in:
parent
f4d3e5a905
commit
1bba5fec9f
|
@ -1,3 +1,8 @@
|
|||
2010-08-13 Sergio Martin <sergio.martin@artica.es>
|
||||
|
||||
* include/functions.php: Fixed a bug to generate the image
|
||||
in string2image whenn the string contains a sharp (#)
|
||||
|
||||
2010-08-12 Sergio Martin <sergio.martin@artica.es>
|
||||
|
||||
* extensions/agents_modules.php: Change the status of the agents (the first
|
||||
|
|
|
@ -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;
|
||||
}
|
||||
?>
|
||||
|
|
Loading…
Reference in New Issue