Error / Conflict Correction

This commit is contained in:
EoleDev 2016-03-15 23:45:19 +01:00
parent 85b5ebaa18
commit 11dc33c440
2 changed files with 2 additions and 13 deletions
server/core

2
server/core/Compute.php Normal file → Executable file
View file

@ -269,7 +269,7 @@ class compute
$imageId = $this->app->getPostParam("imageId");
$newName = $this->app->getPostParam("newName");
$adminPass = $this->app->getPostParam("adminPass");
if(!isset($serverId)|| !isset($imageId) || isset($newName) || isset($adminPass)) ){
if(!isset($serverId)|| !isset($imageId) || isset($newName) || isset($adminPass)) {
$this->app->setOutput("Error", "You'll have to provide server ID and the new image, name and admin password!");
return;
}