Skip to content

Commit 23cfe7f

Browse files
authored
Update AMP.php
Fixes issue with the PostCreate values. The correct value is now passed to AMP to start the instance.
1 parent 8de8681 commit 23cfe7f

1 file changed

Lines changed: 4 additions & 4 deletions

File tree

modules/servers/AMP/AMP.php

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -177,9 +177,9 @@ function ($table) {
177177
'Options' =>
178178
[
179179
0 => 'Do nothing',
180-
10 => 'Start instance only',
181-
20 => 'Start instance and update application',
182-
30 => 'Full application startup',
180+
1 => 'Start instance only',
181+
2 => 'Start instance and update application',
182+
3 => 'Full instance and application startup',
183183
],
184184
'Description' => 'Choose one'.$script,
185185
),
@@ -733,4 +733,4 @@ function AMP_ClearInstanceFromWHMCS(array $params)
733733
} catch (\Exception $e) {
734734
return $e->getMessage();
735735
}
736-
}
736+
}

0 commit comments

Comments
 (0)