Página 1 de 1

Version 2.06d [zend + login bugfix]

Publicado: 01 Mar 2004, 23:35
por ThE KuKa
Nueva version 2.06d que corrije un fallo potencial cuando se usa Zend Optimizer 2.5 (esta versií?Â?í?Â?í?Â?í?Â?í?Â?í?Â?í?Â?í?³n en especial segun psoTFX) y que afecta al login en phpBB.

Anuncio oficial por psoTFX

La solucion, abrir viewtopic.php y buscar:

Código: Seleccionar todo

//
// Decide how to order the post display
//
if ( !empty($HTTP_POST_VARS['postorder']) || !empty($HTTP_GET_VARS['postorder']) )
{
   $post_order = (!empty($HTTP_POST_VARS['postorder'])) ? $HTTP_POST_VARS['postorder'] : $HTTP_GET_VARS['postorder'];
   $post_time_order = ($post_order == "asc") ? "ASC" : "DESC";
}
else
{
   $post_order = 'asc';
   $post_time_order = 'ASC';
} 
Reemplazar por:

Código: Seleccionar todo

//
// Decide how to order the post display
//
if ( !empty($HTTP_POST_VARS['postorder']) || !empty($HTTP_GET_VARS['postorder']) )
{
   $post_order = (!empty($HTTP_POST_VARS['postorder'])) ? htmlspecialchars($HTTP_POST_VARS['postorder']) : htmlspecialchars($HTTP_GET_VARS['postorder']);
   $post_time_order = ($post_order == "asc") ? "ASC" : "DESC";
}
else
{
   $post_order = 'asc';
   $post_time_order = 'ASC';
}