From 62b776d55ab0c5833cccda0d89dd10e9a893ce0c Mon Sep 17 00:00:00 2001 From: JT Smith Date: Tue, 2 Jun 2009 18:42:43 +0000 Subject: [PATCH] Fixed a problem with graphing created by the newer versions of Image Magick. --- docs/changelog/7.x.x.txt | 2 ++ lib/WebGUI/Image.pm | 2 +- 2 files changed, 3 insertions(+), 1 deletion(-) diff --git a/docs/changelog/7.x.x.txt b/docs/changelog/7.x.x.txt index 587bb9bd0..a1783f691 100644 --- a/docs/changelog/7.x.x.txt +++ b/docs/changelog/7.x.x.txt @@ -2,6 +2,8 @@ - fixed #10450: A different errormessage is given if the username does exist and does not exist. (Arjan Widlak / United Knowledge) - fixed: Reverted bugfix for 10409 and changed the hover help to reflect the correct way to build list-type form controls in the MetaData. + - Fixed a problem with graphing created by the newer versions of Image + Magick. - fixed: Template parser cannot be set - fixed #10361: Shortcuts duplicate extra header tags - fixed #10356: SQL report is cached too long diff --git a/lib/WebGUI/Image.pm b/lib/WebGUI/Image.pm index 390c274f7..3f3a6fb10 100644 --- a/lib/WebGUI/Image.pm +++ b/lib/WebGUI/Image.pm @@ -177,7 +177,7 @@ sub new { size => $width.'x'.$height, ); - $img->Read(filename => 'xc:white'); + $img->ReadImage('xc:white'); bless {_image => $img, _session => $session, _properties => { width => $width,