Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
D
dolibarr
Manage
Activity
Members
Code
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Deploy
Releases
Container registry
Model registry
Analyze
Contributor analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
GitLab community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
Software_Artifact_Infrastructure_Repository
dolibarr
Commits
9a34befe
Commit
9a34befe
authored
17 years ago
by
Laurent Destailleur
Browse files
Options
Downloads
Patches
Plain Diff
Fix: Remove error
parent
416e91b1
No related branches found
No related tags found
No related merge requests found
Changes
2
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
htdocs/install/upgrade.php
+3
-5
3 additions, 5 deletions
htdocs/install/upgrade.php
htdocs/install/upgrade2.php
+1
-1
1 addition, 1 deletion
htdocs/install/upgrade2.php
with
4 additions
and
6 deletions
htdocs/install/upgrade.php
+
3
−
5
View file @
9a34befe
<?php
/* Copyright (C) 2004 Rodolphe Quiedeville <rodolphe@quiedeville.org>
* Copyright (C) 2004-200
7
Laurent Destailleur <eldy@users.sourceforge.net>
* Copyright (C) 2004-200
8
Laurent Destailleur <eldy@users.sourceforge.net>
*
* 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
...
...
@@ -15,14 +15,12 @@
* You should have received a copy of the GNU General Public License
* along with this program; if not, write to the Free Software
* Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
*
* $Id$
*/
/**
\file htdocs/install/upgrade.php
\brief
Execute le script de
migration
\version $
Revision
$
\brief
Run
migration
script
\version $
Id
$
*/
include_once
(
"./inc.php"
);
...
...
This diff is collapsed.
Click to expand it.
htdocs/install/upgrade2.php
+
1
−
1
View file @
9a34befe
...
...
@@ -1464,7 +1464,7 @@ function migrate_price_commande_fournisseur($db,$langs,$conf)
$db
->
free
(
$resql
);
$sql
=
"DELETE FROM "
.
MAIN_DB_PREFIX
.
"commande_fournisseurdet"
;
$sql
.
=
" WHERE price = 0 and total_ttc = 0 and total_tva = 0 and total_ht = 0"
;
$sql
.
=
" WHERE
sub
price = 0 and total_ttc = 0 and total_tva = 0 and total_ht = 0"
;
$resql
=
$db
->
query
(
$sql
);
if
(
!
$resql
)
{
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment