Skip to content

Commit

Permalink
fix error messages on start without parameters
Browse files Browse the repository at this point in the history
  • Loading branch information
k2s committed Apr 8, 2014
1 parent bf99ed3 commit 6777975
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion core/Lock.php
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,7 @@ class Core_Lock
public function __construct($iniOptions, $output)
{
$this->_iniOptions = $iniOptions;
$this->_cmdOptions = $iniOptions['ini'];
$this->_cmdOptions = array_key_exists('ini', $iniOptions) ? $iniOptions['ini'] : array();
$this->_output = $output;
$this->initFileLock();
$this->_output->logDebug(">>>Lock object was initialised");
Expand Down

0 comments on commit 6777975

Please sign in to comment.