2
0
forked from Wavyzz/dolibarr

clean code expedition class (#35327)

* clean code expedition class

* clean code expedition class

* clean code expedition class

* clean code expedition class

* clean code expedition class

* fix

* fix

* fix

* fix

* fix

* fix

* fix

* fix

* fix

* fix

* fix

* fix

* fix

* fix

* clean code
This commit is contained in:
Frédéric FRANCE
2025-09-15 16:16:22 +02:00
committed by GitHub
parent 4c80eee890
commit 21d50f1a58
23 changed files with 163 additions and 281 deletions

View File

@@ -1,6 +1,6 @@
<?php
/* Copyright (C) 2017 Laurent Destailleur <eldy@users.sourceforge.net>
* Copyright (C) 2024 Frédéric France <frederic.france@free.fr>
* Copyright (C) 2024-2025 Frédéric France <frederic.france@free.fr>
* Copyright (C) 2024-2025 MDW <mdeweerd@users.noreply.github.com>
*
* This program is free software; you can redistribute it and/or modify
@@ -1066,7 +1066,7 @@ function getNbOfImagePublicURLOfObject($object)
if ($resql) {
$obj = $db->fetch_object($resql);
if ($obj) {
$nb = $obj->nb;
$nb = (int) $obj->nb;
}
}