Skip to content

Commit

Permalink
FIX Dolibarr#30377 An external user can see invoices of all compagnies
Browse files Browse the repository at this point in the history
  • Loading branch information
FlorentPoinsaut committed Jul 15, 2024
1 parent fe4a395 commit 4acf749
Showing 1 changed file with 20 additions and 20 deletions.
40 changes: 20 additions & 20 deletions htdocs/compta/facture/list.php
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
Expand Down Expand Up @@ -399,7 +400,6 @@
$search_array_options = array();
$search_categ_cus = 0;
$search_option = '';
$socid = 0;
}

if (empty($reshook)) {
Expand Down

0 comments on commit 4acf749

Please sign in to comment.