Está en la página 1de 2

- Controladores (inc/php):

tops.php
=> lnea 52 original: $fecha = (int) empty($_GET['fecha']) || $_GET['fecha
'] > 5 ? 5 : $_GET['fecha'];
=> lnea 52 actualiz: $fecha = empty($_GET['fecha']) || $_GET['fecha'] > 5
? 5 : (int)$_GET['fecha'];
--------------------=> lnea 54 original: $cat = (int) empty($_GET['cat']) ? 0 : $_GET['cat'];
=> lnea 54 actualiz: $cat = empty($_GET['cat']) ? 0 : (int)$_GET['cat'];
--------------------=> lnea 57 original: $action = empty($_GET['action']) ? 'posts' : $_GET['
action'];
=> lnea 57 actualiz: $action = empty($_GET['action']) ? 'posts' : (string
)$_GET['action'];
buscador.php
=> lnea 49 original: $c = intval($_GET['cat']);
--------------------=> lnea 49 actualiz: $c = (int)$_GET['cat'];
agregar.php
=> lnea 106, 72 original: $tsCat = $tsCore->setSecure($_POST['categoria']
);
=> lnea 106, 72 actualiz: $tsCat = (int)$_POST['categoria'];
--------------------=> lnea 71 original: $tsPost = $tsCore->setSecure($_GET['pid']);
=> lnea 71 actualiz: $tsPost = (int)$_GET['pid'];
- Controladores AJAX (inc/php/ajax):
ajax.posts.php
=> lnea 52 original: $q = htmlspecialchars($_POST['q']);
=> lnea 52 actualiz: $q = $tsCore->setSecure($_POST['q']);
ajax.perfil.php
=> lnea 74 original: $ac_type = empty($_POST['ac_type']) ? 0 : $_POST['ac
_type'];
=> lnea 74 actualiz: $ac_type = empty($_POST['ac_type']) ? 0 : (int)$_POS
T['ac_type'];
--------------------=> lnea 75 original: $start = empty($_POST['start']) ? 0 : $_POST['start'
];
=> lnea 75 actualiz: $start = empty($_POST['start']) ? 0 : (int)$_POST['s
tart'];
ajax.moderacion.php
=> lnea 52 original: $pid = $_POST['postid'];
=> lnea 52 actualiz: $pid = (int)$_POST['postid'];
--------------------=> lnea 62 original: echo $tsMod->OcultarPost($_POST['pid'], $_POST['razo
n']);
=> lnea 62 actualiz: echo $tsMod->OcultarPost($_POST['pid'], $tsCore->set
Secure($_POST['razon']));
--------------------=> lnea 153 original: $fid = $_POST['fid'];
=> lnea 153 actualiz: $fid = (int)$_POST['fid'];
- Clases (inc/class):
c.user.php
=> lnea 266 original: if(empty($tsUserID)) $tsUserID = $tsCore->setSecure
($_GET['uid']);
=> lnea 266 actualiz: if(empty($tsUserID)) $tsUserID = (int)$_GET['uid'];
--------------------=> lnea 406 original: $rango = (int) $tsCore->setSecure($_GET['rango']);
=> lnea 406 actualiz: $rango = (int)$_GET['rango'];
c.afiliado.php
=> lnea 176 original: $ref = $tsCore->setSecure(is_numeric($_GET['ref']))

;
=> lnea 176 actualiz: $ref = (int)$_GET['ref'];
c.posts.php
=> lnea 246 original: $query = mysql_query('SELECT c_nombre, c_seo FROM p
_categorias WHERE c_seo = \''.(int)$cat.'\' LIMIT 1');
=> lnea 246 actualiz: $query = mysql_query('SELECT c_nombre, c_seo FROM p
_categorias WHERE c_seo = \''.$tsCore->setSecure($_GET['cat']).'\' LIMIT 1');
--------------------=> Eliminar lnea 244: $cat = intval($_GET['cat']);

También podría gustarte