Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
legi
soft
gestex
Commits
3e24c70e
Commit
3e24c70e
authored
Jul 15, 2021
by
Estéban Ristich
Browse files
Fix Issue
#62
Uncomment del_recipe_by_id function
parent
3f7355e0
Changes
1
Hide whitespace changes
Inline
Side-by-side
module/db-functions.php
View file @
3e24c70e
...
...
@@ -1465,7 +1465,7 @@ function set_recipe_new($pdo, $intervention_id, $file_field_name) {
$iostat
=
move_uploaded_file
(
$recipe_tmp_file
,
$new_dir
.
'/'
.
$recipe_filename_kebab
);
if
(
!
$iostat
)
{
error_log
(
'Error: not move recipe file '
.
$recipe_filename_upload
.
' to '
.
$recipe_filename_kebab
);
//
del_recipe_by_id($pdo, $recipe_id);
del_recipe_by_id
(
$pdo
,
$recipe_id
);
return
false
;
}
...
...
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