Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
What's new
10
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Open sidebar
Antoine
ae2
Commits
2f95b3d8
Commit
2f95b3d8
authored
May 23, 2014
by
Bate
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Peut-etre qu'il faudrait empecher de declicker des ecocup qu'on a pas achete/ Rognutudju
parent
339e9e6b
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
4 deletions
+1
-4
comptoir/include/produit.inc.php
comptoir/include/produit.inc.php
+1
-4
No files found.
comptoir/include/produit.inc.php
View file @
2f95b3d8
...
...
@@ -609,11 +609,8 @@ class produit extends stdentity
$row
=
$req
->
get_row
();
_log
(
$site
->
dbrw
,
"Ecocup: Restante "
.
$row
[
"nb_consigne"
]);
// Le nombre renvoyé doit être >= 0 !
$val
=
max
(
0
,
intval
(
$row
[
"nb_consigne"
])
,
$site
->
user
);
$val
=
max
(
0
,
intval
(
$row
[
"nb_consigne"
]));
return
$val
;
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment