[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Noalyss-commit] [noalyss] 04/46: Comptability PHP7.2
From: |
Dany De Bontridder |
Subject: |
[Noalyss-commit] [noalyss] 04/46: Comptability PHP7.2 |
Date: |
Mon, 4 May 2020 13:38:41 -0400 (EDT) |
sparkyx pushed a commit to branch master
in repository noalyss.
commit 61bef0f2cffde83e40c78f08e2333a1a0187ee16
Author: Dany De Bontridder <address@hidden>
AuthorDate: Sun Feb 2 10:26:45 2020 +0100
Comptability PHP7.2
---
include/class/document_type.class.php | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/include/class/document_type.class.php
b/include/class/document_type.class.php
index 1a8357e..92ffc82 100644
--- a/include/class/document_type.class.php
+++ b/include/class/document_type.class.php
@@ -48,7 +48,7 @@ class Document_type
{
$sql = "select * from document_type where dt_id=$1";
$R = $this->db->exec_sql($sql, array($this->dt_id));
- if (count($R) == 0) return 1;
+ if ($this->db->count($R) == 0) return 1;
$r = Database::fetch_array($R, 0);
$this->dt_id = $r['dt_id'];
$this->dt_value = $r['dt_value'];
- [Noalyss-commit] [noalyss] branch master updated (f306130 -> aa78d59), Dany De Bontridder, 2020/05/04
- [Noalyss-commit] [noalyss] 01/46: Record exception, Dany De Bontridder, 2020/05/04
- [Noalyss-commit] [noalyss] 04/46: Comptability PHP7.2,
Dany De Bontridder <=
- [Noalyss-commit] [noalyss] 05/46: Documentation, Dany De Bontridder, 2020/05/04
- [Noalyss-commit] [noalyss] 02/46: Bug solde is rounded and doesn't have decimal, Dany De Bontridder, 2020/05/04
- [Noalyss-commit] [noalyss] 03/46: Test Acc_Account, Dany De Bontridder, 2020/05/04
- [Noalyss-commit] [noalyss] 06/46: Documentation, Dany De Bontridder, 2020/05/04
- [Noalyss-commit] [noalyss] 12/46: Minimum version : PHP 7.0 and PostgreSQL 9.5, Dany De Bontridder, 2020/05/04
- [Noalyss-commit] [noalyss] 07/46: phpunit : use plain text for restoring test database, Dany De Bontridder, 2020/05/04
- [Noalyss-commit] [noalyss] 09/46: search : add placeholder, Dany De Bontridder, 2020/05/04
- [Noalyss-commit] [noalyss] 10/46: Bug : customer.inc.php with http_input::request Correct : Contact.inc.php remove direct use of $_GET, Dany De Bontridder, 2020/05/04
- [Noalyss-commit] [noalyss] 11/46: New : Icon_Action::icon_onoff : display on or off, Dany De Bontridder, 2020/05/04
- [Noalyss-commit] [noalyss] 08/46: Bug : filter_list does not filter simple list, Dany De Bontridder, 2020/05/04