diff --git a/html/poste_search.php b/html/poste_search.php
index e9fef232d..63fff4bcd 100644
--- a/html/poste_search.php
+++ b/html/poste_search.php
@@ -67,13 +67,12 @@ if ( isset($_GET['filter']) && $_GET['filter'] != 'all') {
// Load the property
$l_line=GetJrnProp($gDossier,$_GET['p_jrn']);
- if ( strlen(trim ($l_line['jrn_def_class_cred']) ) > 0 ) {
- $valid_cred=split(" ",$l_line['jrn_def_class_cred']);
+ if ( strlen(trim ($l_line['jrn_def_class_deb']) ) > 0 ) {
+ $valid_cred=split(" ",$l_line['jrn_def_class_deb']);
// Creation query
foreach ( $valid_cred as $item_cred) {
if ( strlen (trim($item_cred))) {
- echo_debug('poste_search.php',__LINE__,"l_line[jrn_def_class_cred] $l_line[jrn_def_class_cred] item_cred $item_cred");
if ( strstr($item_cred,"*") == true ) {
$item_cred=strtr($item_cred,"*","%");
$Sql=" pcm_val like '$item_cred' or";
diff --git a/html/style-color.css b/html/style-color.css
index ac3c9511c..c19b257de 100644
--- a/html/style-color.css
+++ b/html/style-color.css
@@ -42,7 +42,7 @@ div.info {
h2.info {
background:#879ed4;
color:white;
- font-size:16pt;
+ font-size:12pt;
text-align:center;
padding:0px;
margin:0px;
diff --git a/html/style-light.css b/html/style-light.css
index cc71f609f..5b41c64b8 100644
--- a/html/style-light.css
+++ b/html/style-light.css
@@ -41,7 +41,7 @@ div.info {
h2.info {
background:#879ed4;
color:white;
- font-size:16pt;
+ font-size:12pt;
text-align:center;
padding:0px;
margin:0px;
diff --git a/html/style.css b/html/style.css
index 41497967f..5b391cd0d 100644
--- a/html/style.css
+++ b/html/style.css
@@ -43,7 +43,7 @@ background-color: #879ed4;
h2.info {
background-color:#879ed4;
color:white;
-font-size:2.5em;
+font-size:12pt;
text-align:center;
padding:0px;
margin:0px;
diff --git a/include/class_acc_ledger.php b/include/class_acc_ledger.php
index e1d9173c1..834f0c206 100644
--- a/include/class_acc_ledger.php
+++ b/include/class_acc_ledger.php
@@ -715,7 +715,7 @@ class Acc_Ledger {
* \return return an string
*/
function get_class_def() {
- $sql="select jrn_def_class_cred ".
+ $sql="select jrn_def_class_deb ".
" from jrn_def where ".
" jrn_def_id = ".$this->id;