mirror of
https://github.com/invoiceninja/invoiceninja.git
synced 2025-05-24 02:14:21 -04:00
Fixes for check data
This commit is contained in:
parent
25739a912e
commit
50b6e14782
@ -862,7 +862,7 @@ class CheckData extends Command
|
||||
}
|
||||
$records = DB::table($table)
|
||||
->join($tableName, "{$tableName}.id", '=', "{$table}.{$field}_id")
|
||||
->where("{$table}.{$company_id}", '!=', "{$tableName}.company_id")
|
||||
->whereRaw("{$table}.{$company_id} != {$tableName}.company_id")
|
||||
->get(["{$table}.id"]);
|
||||
|
||||
if ($records->count()) {
|
||||
|
Loading…
x
Reference in New Issue
Block a user