Fix the SettingsController 5.4 call
This commit is contained in:
parent
5b2f66565c
commit
35bc3dad31
|
@ -101,7 +101,7 @@ class SettingsController extends Controller
|
|||
$dumper = new Dumper();
|
||||
$yaml = $dumper->dump($this->settings);
|
||||
file_put_contents(APPLICATION_PATH . 'PHPCI/config.yml', $yaml);
|
||||
if(error_get_last()) return error_get_last()['message'];
|
||||
if ($error_get_last = error_get_last()) { return $error_get_last['message']; }
|
||||
}
|
||||
|
||||
protected function getGithubForm()
|
||||
|
|
Loading…
Reference in a new issue