From 8fbe3ac01f81556c2b5d007559b51b6a26df86bd Mon Sep 17 00:00:00 2001 From: Praesidiarius Date: Thu, 1 Apr 2021 11:42:24 +0200 Subject: [PATCH] hotfix - show version of module to be installed --- .../Application/view/application/index/checkforupdates.phtml | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/module/Application/view/application/index/checkforupdates.phtml b/module/Application/view/application/index/checkforupdates.phtml index 750ee3a..8e21e8b 100644 --- a/module/Application/view/application/index/checkforupdates.phtml +++ b/module/Application/view/application/index/checkforupdates.phtml @@ -76,11 +76,10 @@ $aAlreadyInstalled = []; $sModNamePath .= "\\".ucfirst($sModPath); } $sClass = $sVendor.$sModNamePath."\\Module"; + $sClass = str_replace(['Oneplace'],['OnePlace'],$sClass); try { - if(is_object($sClass)) { - $sModVer = $sClass::VERSION; - } + $sModVer = $sClass::VERSION; } catch(\RuntimeException $e) { }