Unknown updates from production
This commit is contained in:
@@ -56,6 +56,10 @@ class Controller_Reseller_Charge extends Controller_Charge {
|
||||
|
||||
$this->meta->title = $co->loaded() ? sprintf('Charge: %s (%s)',$co->name(),$co->account->name()) : 'New Charge';
|
||||
|
||||
// New charges
|
||||
if (! $co->loaded())
|
||||
$co->active = TRUE;
|
||||
|
||||
if ($this->request->post() AND $co->values($this->request->post())->changed() AND (! $this->save($co)))
|
||||
$co->reload();
|
||||
|
||||
|
Reference in New Issue
Block a user