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
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
Software_Artifact_Infrastructure_Repository
dolibarr
Commits
ff6368b3
Commit
ff6368b3
authored
10 years ago
by
Laurent Destailleur
Browse files
Options
Downloads
Plain Diff
Merge pull request #1838 from GPCsolutions/triggers_globals
Fix: missing global declarations
parents
04b611f7
1d5fb132
Branches
Branches containing commit
Tags
Tags containing commit
No related merge requests found
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
htdocs/fichinter/class/fichinter.class.php
+1
-1
1 addition, 1 deletion
htdocs/fichinter/class/fichinter.class.php
htdocs/fourn/class/fournisseur.product.class.php
+1
-1
1 addition, 1 deletion
htdocs/fourn/class/fournisseur.product.class.php
htdocs/user/logout.php
+1
-0
1 addition, 0 deletions
htdocs/user/logout.php
with
3 additions
and
2 deletions
htdocs/fichinter/class/fichinter.class.php
+
1
−
1
View file @
ff6368b3
...
...
@@ -365,7 +365,7 @@ class Fichinter extends CommonObject
*/
function
setValid
(
$user
)
{
global
$langs
,
$conf
;
global
$conf
;
require_once
DOL_DOCUMENT_ROOT
.
'/core/lib/files.lib.php'
;
$error
=
0
;
...
...
This diff is collapsed.
Click to expand it.
htdocs/fourn/class/fournisseur.product.class.php
+
1
−
1
View file @
ff6368b3
...
...
@@ -154,7 +154,7 @@ class ProductFournisseur extends Product
*/
function
update_buyprice
(
$qty
,
$buyprice
,
$user
,
$price_base_type
,
$fourn
,
$availability
,
$ref_fourn
,
$tva_tx
,
$charges
=
0
,
$remise_percent
=
0
,
$remise
=
0
,
$newnpr
=
0
)
{
global
$conf
,
$mysoc
;
global
$conf
;
// Clean parameter
if
(
empty
(
$qty
))
$qty
=
0
;
...
...
This diff is collapsed.
Click to expand it.
htdocs/user/logout.php
+
1
−
0
View file @
ff6368b3
...
...
@@ -38,6 +38,7 @@ if (!empty($_SESSION["dol_authmode"]) && ($_SESSION["dol_authmode"] == 'forceuse
die
(
"Disconnection does not work when connection was made in mode "
.
$_SESSION
[
"dol_authmode"
]);
}
global
$conf
,
$langs
,
$user
;
// Appel des triggers
include_once
DOL_DOCUMENT_ROOT
.
'/core/class/interfaces.class.php'
;
...
...
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