Skip to content

Commit

Permalink
temporary fix for XoopsModules25x#24
Browse files Browse the repository at this point in the history
  • Loading branch information
mambax7 committed Aug 8, 2021
1 parent c6e093a commit e2462f1
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion submit.php
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,7 @@
use Xmf\Request;
use XoopsModules\Tag\FormTag;
use XoopsModules\Xoopstube\{
Helper,
Utility,
Tree
};
Expand Down Expand Up @@ -64,7 +65,7 @@
$approve = Request::getInt('approve', 0, 'POST'); // cleanRequestVars($_REQUEST, 'approve', 0);
$vidrating = Request::getInt('vidrating', 0, 'POST'); // cleanRequestVars($_REQUEST, 'vidrating', 0);
$vidid = Request::getString('vidid', 0, 'POST'); // $myts->addslashes(ltrim(Request::getInt('vidid', 0, 'POST')));
$title = Request::getString('title', '', 'POST'); // $myts->addslashes(ltrim($_REQUEST['title']));
$title = $myts->addSlashes(Request::getString('title', '', 'POST')); // $myts->addslashes(ltrim($_REQUEST['title']));
$descriptionb = Request::getString('descriptionb', '', 'POST'); // $myts->addslashes(ltrim($_REQUEST['descriptionb']));
$publisher = Request::getString('publisher', '', 'POST'); // $myts->addslashes(trim($_REQUEST['publisher']));
$time = Request::getString('time', '', 'POST'); // $myts->addslashes(ltrim($_REQUEST['time']));
Expand Down

0 comments on commit e2462f1

Please sign in to comment.