BUG 12116 Muestra un error al darle click en Reassing SOLVED
- Missing validation when variable APP_UIDS not sent - Add validation when variable APP_UIDS not sent
This commit is contained in:
@@ -1,10 +1,10 @@
|
|||||||
<?php
|
<?php
|
||||||
if (!isset($_SESSION['USER_LOGGED'])) {
|
if (!isset($_SESSION['USER_LOGGED'])) {
|
||||||
$response = new stdclass();
|
$response = new stdclass();
|
||||||
$response->message = G::LoadTranslation('ID_LOGIN_AGAIN');
|
$response->message = G::LoadTranslation('ID_LOGIN_AGAIN');
|
||||||
$response->lostSession = true;
|
$response->lostSession = true;
|
||||||
print G::json_encode( $response );
|
print G::json_encode( $response );
|
||||||
die();
|
die();
|
||||||
}
|
}
|
||||||
$callback = isset( $_POST['callback'] ) ? $_POST['callback'] : 'stcCallback1001';
|
$callback = isset( $_POST['callback'] ) ? $_POST['callback'] : 'stcCallback1001';
|
||||||
$dir = isset( $_POST['dir'] ) ? $_POST['dir'] : 'DESC';
|
$dir = isset( $_POST['dir'] ) ? $_POST['dir'] : 'DESC';
|
||||||
@@ -20,7 +20,11 @@ $action = isset( $_GET['action'] ) ? $_GET['action'] : (isset( $_POST['action']
|
|||||||
$type = isset( $_GET['type'] ) ? $_GET['type'] : (isset( $_POST['type'] ) ? $_POST['type'] : 'extjs');
|
$type = isset( $_GET['type'] ) ? $_GET['type'] : (isset( $_POST['type'] ) ? $_POST['type'] : 'extjs');
|
||||||
$user = isset( $_POST['user'] ) ? $_POST['user'] : '';
|
$user = isset( $_POST['user'] ) ? $_POST['user'] : '';
|
||||||
|
|
||||||
$sentUids = explode( ',', $_POST['APP_UIDS'] );
|
if (isset($_POST['APP_UIDS'])) {
|
||||||
|
$sentUids = explode( ',', $_POST['APP_UIDS'] );
|
||||||
|
} else {
|
||||||
|
$sentUids = array();
|
||||||
|
}
|
||||||
|
|
||||||
$allUidsRecords = array ();
|
$allUidsRecords = array ();
|
||||||
$allTasUids = array ();
|
$allTasUids = array ();
|
||||||
|
|||||||
Reference in New Issue
Block a user