From f909191c4e6d6e3fc924f99a87869e0a1b7728eb Mon Sep 17 00:00:00 2001 From: michael Date: Fri, 4 Jul 2003 09:01:43 +0000 Subject: [PATCH] corrected image size checking (thanks pstav@adelie.net) --- presentation/lookAndFeel/knowledgeTree/administration/news/editNewsBL.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/presentation/lookAndFeel/knowledgeTree/administration/news/editNewsBL.php b/presentation/lookAndFeel/knowledgeTree/administration/news/editNewsBL.php index 1218c9c..480b5ee 100644 --- a/presentation/lookAndFeel/knowledgeTree/administration/news/editNewsBL.php +++ b/presentation/lookAndFeel/knowledgeTree/administration/news/editNewsBL.php @@ -57,7 +57,7 @@ if (checkSession()) { // we have an image, now check the size $iImgWidth = $aSize[0]; $iImgHeight = $aSize[1]; - if (DashboardNews::checkImageSize($iImgWidth, $iImgHeight)) { + if ($oDashboardNews->checkImageSize($iImgWidth, $iImgHeight)) { // size is fine, so set it $oDashboardNews->setImageFile($_FILES['fImage']['tmp_name']); -- libgit2 0.21.4