Skip to content

Commit

Permalink
Merge pull request #8790 from aspangaro/7.0-f1
Browse files Browse the repository at this point in the history
Fix : Double WHERE on admin/journal_list.php
  • Loading branch information
eldy committed May 18, 2018
2 parents 79bbeb0 + 88bc2dd commit 078ea2c
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions htdocs/accountancy/admin/journals_list.php
Expand Up @@ -86,7 +86,7 @@

// Requests to extract data
$tabsql=array();
$tabsql[35]= "SELECT a.rowid as rowid, a.code as code, a.label, a.nature, a.active FROM ".MAIN_DB_PREFIX."accounting_journal as a WHERE a.entity=".$conf->entity;
$tabsql[35]= "SELECT a.rowid as rowid, a.code as code, a.label, a.nature, a.active FROM ".MAIN_DB_PREFIX."accounting_journal as a";

// Criteria to sort dictionaries
$tabsqlsort=array();
Expand All @@ -102,7 +102,7 @@

// Nom des champs dans la table pour insertion d'un enregistrement
$tabfieldinsert=array();
$tabfieldinsert[35]= "code,label,nature,entity";
$tabfieldinsert[35]= "code,label,nature";

// Nom du rowid si le champ n'est pas de type autoincrement
// Example: "" if id field is "rowid" and has autoincrement on
Expand Down

0 comments on commit 078ea2c

Please sign in to comment.