[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Noalyss-commit] [noalyss] 02/39: Bug Database:lo_unlink unknown variabl
From: |
Dany De Bontridder |
Subject: |
[Noalyss-commit] [noalyss] 02/39: Bug Database:lo_unlink unknown variable |
Date: |
Sat, 11 Jul 2020 13:20:35 -0400 (EDT) |
sparkyx pushed a commit to branch master
in repository noalyss.
commit 3f5759dfccd2f7f97d4c2a8e97eea86caa3d6730
Author: Dany De Bontridder <danydb@noalyss.eu>
AuthorDate: Wed May 6 23:47:04 2020 +0200
Bug Database:lo_unlink unknown variable
---
include/class/database.class.php | 8 ++++----
1 file changed, 4 insertions(+), 4 deletions(-)
diff --git a/include/class/database.class.php b/include/class/database.class.php
index 101cc5e..30da3f4 100644
--- a/include/class/database.class.php
+++ b/include/class/database.class.php
@@ -89,7 +89,7 @@ class Database extends DatabaseCore
$r = pg_fetch_array($ret, 0);
$old_oid = $r['jr_pj'];
if (strlen($old_oid) != 0)
- pg_lo_unlink($cn, $old_oid);
+ $this->lo_unlink( $old_oid);
}
// Load new document
$this->exec_sql("update jrn set jr_pj=$1 , jr_pj_name=$2,
@@ -115,7 +115,7 @@ class Database extends DatabaseCore
/**
* \brief loop to apply all the path to a folder or a template
* Upgrade check if the folder $p_name needs to be upgrade thanks the
variable DBVERSION
- * and run all the SQL script named upgradeX.sql from the folder
noalyss/include/sql/patch
+ * and run all the SQL script named upgradeX.sql from the folder
noalyss/include/sql/patch
* until X equal DBVERSION-1
*
* \param $p_name database name
@@ -226,7 +226,7 @@ class Database extends DatabaseCore
if (!DEBUG)
ob_end_clean();
-
+
}
}
echo '</ul>';
@@ -253,4 +253,4 @@ class Database extends DatabaseCore
}
return $sys_name;
}
-}
\ No newline at end of file
+}
- [Noalyss-commit] [noalyss] branch master updated (aa78d59 -> 3450d5f), Dany De Bontridder, 2020/07/11
- [Noalyss-commit] [noalyss] 01/39: Pierre-François P. Ajout des parenthèses dans le calcul des champs numériques, Dany De Bontridder, 2020/07/11
- [Noalyss-commit] [noalyss] 05/39: Code : add connection by DSN, Dany De Bontridder, 2020/07/11
- [Noalyss-commit] [noalyss] 07/39: Remove DB connect with DSN, Dany De Bontridder, 2020/07/11
- [Noalyss-commit] [noalyss] 04/39: Fix bug in recover password Include sendmail.class.php fix bug sending email with file (compatibility PHP7), Dany De Bontridder, 2020/07/11
- [Noalyss-commit] [noalyss] 10/39: Task #1532 : detail payment, Dany De Bontridder, 2020/07/11
- [Noalyss-commit] [noalyss] 11/39: #1583: [Cosmétique] Liste de catégories de fiches, espace avant les (), Dany De Bontridder, 2020/07/11
- [Noalyss-commit] [noalyss] 08/39: #1798 French calendar, Dany De Bontridder, 2020/07/11
- [Noalyss-commit] [noalyss] 09/39: Compatility PHP7.4, Dany De Bontridder, 2020/07/11
- [Noalyss-commit] [noalyss] 02/39: Bug Database:lo_unlink unknown variable,
Dany De Bontridder <=
- [Noalyss-commit] [noalyss] 06/39: Compatibility postgresql 12, Dany De Bontridder, 2020/07/11
- [Noalyss-commit] [noalyss] 03/39: Fix problem with redirect, Dany De Bontridder, 2020/07/11
- [Noalyss-commit] [noalyss] 12/39: CSS : new background-selected for a row in table, Dany De Bontridder, 2020/07/11
- [Noalyss-commit] [noalyss] 16/39: task #0001413: Duplication d'opération 2 - le retour, Dany De Bontridder, 2020/07/11
- [Noalyss-commit] [noalyss] 18/39: Task #1803 : export detail of an operation in PDF, Dany De Bontridder, 2020/07/11
- [Noalyss-commit] [noalyss] 14/39: task #0001801: CARD : mise à jour fiche , effacement et modification, Dany De Bontridder, 2020/07/11
- [Noalyss-commit] [noalyss] 15/39: Select Box : improve position in floating element, Dany De Bontridder, 2020/07/11
- [Noalyss-commit] [noalyss] 17/39: task #0001801: CARD : mise à jour fiche , effacement et modification, Dany De Bontridder, 2020/07/11
- [Noalyss-commit] [noalyss] 25/39: Code : not direct access to $_GET Bug : javascript didn't work, Dany De Bontridder, 2020/07/11
- [Noalyss-commit] [noalyss] 26/39: Bug : compatibility PHP7.4, Dany De Bontridder, 2020/07/11