convert setting('default.currency') to default_currency() helper function..
This commit is contained in:
@ -64,7 +64,7 @@ class UpdateCurrency extends Job implements ShouldUpdate
|
||||
|
||||
$relationships = $this->countRelationships($this->model, $rels);
|
||||
|
||||
if ($this->model->code == setting('default.currency')) {
|
||||
if ($this->model->code == default_currency()) {
|
||||
$relationships[] = strtolower(trans_choice('general.companies', 1));
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user