Atualizando Documents.class.php
This commit is contained in:
parent
0d75ada9b1
commit
9fd77d926b
1 changed files with 3 additions and 1 deletions
|
|
@ -22,7 +22,9 @@ try{
|
||||||
$page = strtolower(isset($_POST['page']) ? (int)$Main->antiInjection( filter_input(INPUT_POST,'page', FILTER_SANITIZE_SPECIAL_CHARS) ) : 0);
|
$page = strtolower(isset($_POST['page']) ? (int)$Main->antiInjection( filter_input(INPUT_POST,'page', FILTER_SANITIZE_SPECIAL_CHARS) ) : 0);
|
||||||
$max = isset($config->{'app'}->{'datagrid'}->{'rows'}) ? $config->{'app'}->{'datagrid'}->{'rows'} : 20;
|
$max = isset($config->{'app'}->{'datagrid'}->{'rows'}) ? $config->{'app'}->{'datagrid'}->{'rows'} : 20;
|
||||||
$documentsCategorysId = isset($_POST['documents_categorys_id']) ? (int)$Main->antiInjection( filter_input(INPUT_POST, 'documents_categorys_id', FILTER_SANITIZE_SPECIAL_CHARS) ) : 0;
|
$documentsCategorysId = isset($_POST['documents_categorys_id']) ? (int)$Main->antiInjection( filter_input(INPUT_POST, 'documents_categorys_id', FILTER_SANITIZE_SPECIAL_CHARS) ) : 0;
|
||||||
$documentsCategorysTagsId = isset($_POST['documents_categorys_tags_id']) ? (int)$Main->antiInjection( filter_input(INPUT_POST, 'documents_categorys_tags_id', FILTER_SANITIZE_SPECIAL_CHARS) ) : 0;
|
$documentsCategorysTagsId = isset($_POST['documents_categorys_tags_id']) ? (int)$Main->antiInjection( filter_input(INPUT_POST, 'documents_categorys_tags_id', FILTER_SANITIZE_SPECIAL_CHARS) ) : 0;
|
||||||
|
$tag = isset($_POST['tag']) ? (string)$Main->antiInjection( filter_input(INPUT_POST, 'tag', FILTER_SANITIZE_SPECIAL_CHARS) ) : '';
|
||||||
|
$label = isset($_POST['label']) ? (string)$Main->antiInjection( filter_input(INPUT_POST, 'label', FILTER_SANITIZE_SPECIAL_CHARS) ) : '';
|
||||||
|
|
||||||
/** Valida o campo */
|
/** Valida o campo */
|
||||||
$DocumentsValidate->setcompanyId($companyId);
|
$DocumentsValidate->setcompanyId($companyId);
|
||||||
|
|
|
||||||
Loading…
Add table
Reference in a new issue