Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
legi
soft
gestex
Commits
9b96ebd3
Commit
9b96ebd3
authored
Oct 03, 2020
by
Gabriel Moreau
Browse files
Juste debug
parent
5b3675fb
Changes
1
Hide whitespace changes
Inline
Side-by-side
equipment-update.php
View file @
9b96ebd3
...
...
@@ -97,8 +97,10 @@ if ($pdo = connect_db()) {
$err_msg
=
set_equipment_update
(
$pdo
,
$id_equipment
,
$categorie
,
$nom
,
$modele
,
$feature
,
$equipe
,
$fourn
,
$achat
,
$tech
,
$reparation
,
$accessoires
,
$inventaire
,
$notice
,
$barcode
,
$loanable
);
if
(
$err_msg
!=
''
&&
$logged_level
>
3
)
echo
'Erreur : '
.
$err_msg
.
'<br>'
;
if
(
$notice
!=
''
)
if
(
$notice
!=
''
)
{
$id_datasheet
=
set_datasheet_new
(
$pdo
,
$id_equipment
,
$_FILES
[
"notice"
][
"name"
],
$_FILES
[
"notice"
][
"tmp_name"
]);
echo
"New datasheet "
.
$id_equipment
.
" number # "
.
$id_datasheet
;
}
}
// end if modif
else
{
echo
'Aucune modification à faire'
;
...
...
Write
Preview
Supports
Markdown
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