Skip to content
This repository was archived by the owner on Feb 18, 2021. It is now read-only.

Commit fad2933

Browse files
committed
Fixed "Undefined index default" error
1 parent 68df07a commit fad2933

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/Dashbrew/Dashboard/Controllers/ServerController.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -112,7 +112,7 @@ protected function __getInstalledPhps(){
112112
$phps[$build]['running'] = true;
113113
}
114114

115-
if($phps[$build]['default']){
115+
if(!empty($phps[$build]['default'])){
116116
$default_build = $build;
117117
}
118118

0 commit comments

Comments
 (0)