}
unset($nodeData['requirements']);
- $applicationDirectory = $nodeData['applicationDirectory'];
- unset($nodeData['applicationDirectory']);
+ $applicationDirectory = '';
+ if (isset($nodeData['applicationDirectory'])) {
+ $applicationDirectory = $nodeData['applicationDirectory'];
+ unset($nodeData['applicationDirectory']);
+ }
// update package
if ($this->queue->packageID) {
}
}
- if ($this->getPackage()->isApplication && $this->getPackage()->package != 'com.woltlab.wcf' && $this->getAction() == 'install') {
- if (empty($this->getPackage()->packageDir)) {
- $document = $this->promptPackageDir($applicationDirectory);
- if ($document !== null && $document instanceof FormDocument) {
- $installationStep->setDocument($document);
- }
-
- $installationStep->setSplitNode();
+ if ($this->getPackage()->isApplication && $this->getPackage()->package != 'com.woltlab.wcf' && $this->getAction() == 'install' && empty($this->getPackage()->packageDir)) {
+ $document = $this->promptPackageDir($applicationDirectory);
+ if ($document !== null && $document instanceof FormDocument) {
+ $installationStep->setDocument($document);
}
+
+ $installationStep->setSplitNode();
}
return $installationStep;