Overhauled Address linking
This commit is contained in:
@@ -346,13 +346,13 @@ class AddressModel {
|
||||
$where .= " AND Address.create_by IN (". implode(",",$create_by).")";
|
||||
}
|
||||
}
|
||||
|
||||
/*
|
||||
if(array_key_exists("parents_only", $filter)) {
|
||||
$po = $filter['parents_only'];
|
||||
if($po) {
|
||||
$where .= " AND parent_id IS NULL";
|
||||
}
|
||||
}
|
||||
}*/
|
||||
//var_dump($filter, $where);exit;
|
||||
return $where;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user