2
0
forked from Wavyzz/dolibarr

fix phpstan (#31061)

* fix phpstan

* fix phpstan
This commit is contained in:
Frédéric FRANCE
2024-09-20 17:25:39 +02:00
committed by GitHub
parent c8a1ac578d
commit 13d4d96dfc
13 changed files with 24 additions and 22 deletions

View File

@@ -1,5 +1,6 @@
<?php
/* Copyright (C) 2014 Laurent Destailleur <eldy@users.sourceforge.net>
/* Copyright (C) 2014 Laurent Destailleur <eldy@users.sourceforge.net>
* Copyright (C) 2024 Frédéric France <frederic.france@free.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
@@ -71,7 +72,7 @@ if ($action == 'setnote_public' && !empty($permissionnote) && !GETPOST('cancel',
}
if ($result < 0) {
dol_print_error($db, $result);
dol_print_error($db, $object->error, $object->errors);
}
}
}