2
0
forked from Wavyzz/dolibarr

fix phpstan pgsql.class.php (#29511)

* fix phpstan pgsql.class.php

* Update Database.interface.php

* fix phan

fix phan

fix phan

* fix phan

* fix phan

* fix phan

* fix phan

fix phan

fix phan

fix phan

fix phan

* fix phan

* fix phan

* fix phan

* fix phan
This commit is contained in:
Frédéric FRANCE
2024-04-27 22:01:34 +02:00
committed by GitHub
parent a9f5b5c227
commit 82d63247d7
37 changed files with 155 additions and 91 deletions

View File

@@ -1,6 +1,7 @@
<?php
/* Copyright (C) 2018 Quentin Vial-Gouteyron <quentin.vial-gouteyron@atm-consulting.fr>
* Copyright (C) 2024 MDW <mdeweerd@users.noreply.github.com>
* 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
@@ -303,7 +304,9 @@ if ($resql) {
$num_rows = $db->num_rows($resql);
while ($i < $num_rows) {
$array = $db->fetch_array($resql);
array_push($def, $array[0]);
if (is_array($array)) {
array_push($def, $array[0]);
}
$i++;
}
} else {