Skip to content

Commit

Permalink
hotfix - show version of module to be installed
Browse files Browse the repository at this point in the history
  • Loading branch information
Praesidiarius committed Apr 1, 2021
1 parent 027c007 commit 8fbe3ac
Showing 1 changed file with 2 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -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) {

}
Expand Down

0 comments on commit 8fbe3ac

Please sign in to comment.