Skip to content

Commit 8fbe3ac

Browse files
author
Praesidiarius
committed
hotfix - show version of module to be installed
1 parent 027c007 commit 8fbe3ac

1 file changed

Lines changed: 2 additions & 3 deletions

File tree

module/Application/view/application/index/checkforupdates.phtml

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -76,11 +76,10 @@ $aAlreadyInstalled = [];
7676
$sModNamePath .= "\\".ucfirst($sModPath);
7777
}
7878
$sClass = $sVendor.$sModNamePath."\\Module";
79+
$sClass = str_replace(['Oneplace'],['OnePlace'],$sClass);
7980

8081
try {
81-
if(is_object($sClass)) {
82-
$sModVer = $sClass::VERSION;
83-
}
82+
$sModVer = $sClass::VERSION;
8483
} catch(\RuntimeException $e) {
8584

8685
}

0 commit comments

Comments
 (0)