diff options
author | Jonathan Prykop <jonathan@freeside.biz> | 2016-04-19 12:16:15 -0500 |
---|---|---|
committer | Jonathan Prykop <jonathan@freeside.biz> | 2016-04-22 12:10:36 -0500 |
commit | 89e3f368f19ae733b2f82531d73bba2d7bf9e25a (patch) | |
tree | dde444414b6c598e1115b5b6acd570f497342e67 /FS/FS/cust_pkg/API.pm | |
parent | 5c321cb0e6488b0b76fec03395ec815703867b22 (diff) |
RT#29296: API stuff: Add new locations [API bug fixes]
Diffstat (limited to 'FS/FS/cust_pkg/API.pm')
-rw-r--r-- | FS/FS/cust_pkg/API.pm | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/FS/FS/cust_pkg/API.pm b/FS/FS/cust_pkg/API.pm index 6e03b8e..7ef3f72 100644 --- a/FS/FS/cust_pkg/API.pm +++ b/FS/FS/cust_pkg/API.pm @@ -19,7 +19,7 @@ sub API_change { my %opt = @_; return { 'error' => 'Cannot change canceled package' } - if $self->cancel; + if $self->get('cancel'); my %changeopt; |