Skip to content

Commit

Permalink
SF: release 2.2.0-beta.2
Browse files Browse the repository at this point in the history
  • Loading branch information
PeratX committed Nov 1, 2019
1 parent e8ff0a8 commit e6174bc
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion src/iTXTech/SimpleFramework/Framework.php
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@

class Framework implements OnCompletionListener{
public const PROG_NAME = "SimpleFramework";
public const PROG_VERSION = "2.2.0-beta.1";
public const PROG_VERSION = "2.2.0-beta.2";
public const API_LEVEL = 7;
public const CODENAME = "Centaur";

Expand Down
2 changes: 1 addition & 1 deletion src/iTXTech/SimpleFramework/Module/WraithSpireMDR.php
Original file line number Diff line number Diff line change
Expand Up @@ -78,7 +78,7 @@ public function downloadDependency(string $moduleName, string $name, string $ver
rename($file, $file . ".old");
Logger::info(TextFormat::AQUA . "You must restart this program after resolved dependencies.");
}
if(($data = $this->getModuleData($vendor, $name, $version)) !== false){
if(($data = $this->getModuleData($vendor, $name, $version)) !== false and ($data !== null)){
if($data["api"] > Framework::API_LEVEL){
Logger::info("$vendor/$name version $version requires API: " . $data["api"] . " Current API: " . Framework::API_LEVEL . ". Module may not work properly.");
}
Expand Down

0 comments on commit e6174bc

Please sign in to comment.