Skip to content

Commit

Permalink
[TASK] Check wether the postClone option is given before accessing th…
Browse files Browse the repository at this point in the history
…e array
  • Loading branch information
mficzel committed Mar 1, 2016
1 parent cfda533 commit 225f597
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -67,7 +67,7 @@ public function presetCommand($presetName, $yes = false, $keepDb = false)
$this->clonePresets[$presetName]['port'],
$this->clonePresets[$presetName]['path'],
$this->clonePresets[$presetName]['context'],
($this->clonePresets[$presetName]['postClone'] ? $this->clonePresets[$presetName]['postClone'] : NULL),
(isset($this->clonePresets[$presetName]['postClone']) ? $this->clonePresets[$presetName]['postClone'] : NULL),
$yes,
$keepDb
);
Expand Down

0 comments on commit 225f597

Please sign in to comment.