Fix the SettingsController 5.4 call

This commit is contained in:
Ondrej Huta 2013-11-27 11:42:34 +01:00
parent 5b2f66565c
commit 35bc3dad31

View file

@ -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()