mirror of
https://github.com/invoiceninja/invoiceninja.git
synced 2025-07-09 03:14:30 -04:00
Minor fixes
This commit is contained in:
parent
8f1a9a2e5d
commit
bd624710a8
@ -92,7 +92,7 @@ class CheckData extends Command {
|
|||||||
$count = DB::table('activities')
|
$count = DB::table('activities')
|
||||||
->where('activity_type_id', '=', 5)
|
->where('activity_type_id', '=', 5)
|
||||||
->where('json_backup', '=', '')
|
->where('json_backup', '=', '')
|
||||||
->whereNotIn('id', [634386, 756352, 756353, 756356])
|
->whereNotIn('id', [634386, 756352, 756353, 756356, 820872])
|
||||||
->count();
|
->count();
|
||||||
|
|
||||||
if ($count > 0) {
|
if ($count > 0) {
|
||||||
|
@ -18,6 +18,8 @@ class ExpenseCategoryApiController extends BaseAPIController
|
|||||||
|
|
||||||
public function __construct(ExpenseCategoryRepository $categoryRepo, ExpenseCategoryService $categoryService)
|
public function __construct(ExpenseCategoryRepository $categoryRepo, ExpenseCategoryService $categoryService)
|
||||||
{
|
{
|
||||||
|
parent::__construct();
|
||||||
|
|
||||||
$this->categoryRepo = $categoryRepo;
|
$this->categoryRepo = $categoryRepo;
|
||||||
$this->categoryService = $categoryService;
|
$this->categoryService = $categoryService;
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user