Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Contribute to GitLab
Sign in
Toggle navigation
W
WordPress_SexHackMe_Plugin
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
SexHackMe
WordPress_SexHackMe_Plugin
Commits
eda5e218
Commit
eda5e218
authored
Oct 09, 2023
by
Franco (nextime) Lanza
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Fixed error in $selectedv function-form-post
parent
9bb83a89
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
1 deletion
+1
-1
functions-forms-save.php
includes/functions-forms-save.php
+1
-1
No files found.
includes/functions-forms-save.php
View file @
eda5e218
...
...
@@ -230,7 +230,7 @@ function save_sexhack_video_forms( $post_id)
$video
->
__set
(
'hls_'
.
$vt
,
sanitize_text_field
(
$_POST
[
'video_hls_'
.
$vt
]));
}
else
if
(
!
$admin
&&
array_key_exists
(
'video_'
.
$vt
,
$_POST
)
&&
sanitize_text_field
(
$_POST
[
'video_'
.
$vt
]
))
check_url_or_path
(
sanitize_text_field
(
$_POST
[
'video_'
.
$vt
])
))
{
//$video->__set('hls_'.$vt, get_option('sexhack_video_tmp_path', '/tmp')."/".sanitize_text_field($_POST['video_'.$vt]));
sh_add_video_job
(
$video
->
id
,
'process_hls_'
.
$vt
,
get_option
(
'sexhack_video_tmp_path'
,
'/tmp'
)
.
"/"
.
sanitize_text_field
(
$_POST
[
'video_'
.
$vt
]));
...
...
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