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']);