forked from Dolibarr/dolibarr
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
FIX Dolibarr#30377 An external user can see invoices of all compagnies
- Loading branch information
1 parent
fe4a395
commit 4acf749
Showing
1 changed file
with
20 additions
and
20 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,24 +1,25 @@ | ||
<?php | ||
/* Copyright (C) 2002-2006 Rodolphe Quiedeville <[email protected]> | ||
* Copyright (C) 2004 Eric Seigne <[email protected]> | ||
* Copyright (C) 2004-2016 Laurent Destailleur <[email protected]> | ||
* Copyright (C) 2005 Marc Barilley / Ocebo <[email protected]> | ||
* Copyright (C) 2005-2015 Regis Houssin <[email protected]> | ||
* Copyright (C) 2006 Andre Cianfarani <[email protected]> | ||
* Copyright (C) 2010-2020 Juanjo Menent <[email protected]> | ||
* Copyright (C) 2012 Christophe Battarel <[email protected]> | ||
* Copyright (C) 2013 Florian Henry <[email protected]> | ||
* Copyright (C) 2013 Cédric Salvador <[email protected]> | ||
* Copyright (C) 2015 Jean-François Ferry <[email protected]> | ||
* Copyright (C) 2015-2022 Ferran Marcet <[email protected]> | ||
* Copyright (C) 2017 Josep Lluís Amador <[email protected]> | ||
* Copyright (C) 2018 Charlene Benke <[email protected]> | ||
* Copyright (C) 2019-2024 Alexandre Spangaro <[email protected]> | ||
/* Copyright (C) 2002-2006 Rodolphe Quiedeville <[email protected]> | ||
* Copyright (C) 2004 Eric Seigne <[email protected]> | ||
* Copyright (C) 2004-2016 Laurent Destailleur <[email protected]> | ||
* Copyright (C) 2005 Marc Barilley / Ocebo <[email protected]> | ||
* Copyright (C) 2005-2015 Regis Houssin <[email protected]> | ||
* Copyright (C) 2006 Andre Cianfarani <[email protected]> | ||
* Copyright (C) 2010-2020 Juanjo Menent <[email protected]> | ||
* Copyright (C) 2012 Christophe Battarel <[email protected]> | ||
* Copyright (C) 2013 Florian Henry <[email protected]> | ||
* Copyright (C) 2013 Cédric Salvador <[email protected]> | ||
* Copyright (C) 2015 Jean-François Ferry <[email protected]> | ||
* Copyright (C) 2015-2022 Ferran Marcet <[email protected]> | ||
* Copyright (C) 2017 Josep Lluís Amador <[email protected]> | ||
* Copyright (C) 2018 Charlene Benke <[email protected]> | ||
* Copyright (C) 2019-2024 Alexandre Spangaro <[email protected]> | ||
* Copyright (C) 2021-2024 Anthony Berton <[email protected]> | ||
* Copyright (C) 2023 Nick Fragoulis | ||
* Copyright (C) 2023 Joachim Kueter <[email protected]> | ||
* Copyright (C) 2024 MDW <[email protected]> | ||
* Copyright (C) 2024 Frédéric France <[email protected]> | ||
* Copyright (C) 2021-2024 Anthony Berton <anthony.berton@bb2a.fr> | ||
* Copyright (C) 2023 Joachim Kueter <[email protected]> | ||
* Copyright (C) 2024 MDW <[email protected]> | ||
* Copyright (C) 2024 Frédéric France <[email protected]> | ||
* Copyright (C) 2024 Solution Libre SAS <contact@solution-libre.fr> | ||
* | ||
* This program is free software; you can redistribute it and/or modify | ||
* it under the terms of the GNU General Public License as published by | ||
|
@@ -399,7 +400,6 @@ | |
$search_array_options = array(); | ||
$search_categ_cus = 0; | ||
$search_option = ''; | ||
$socid = 0; | ||
} | ||
|
||
if (empty($reshook)) { | ||
|