From d54d048a1550d26cbe2a9cd82fb3ff1a752e22f4 Mon Sep 17 00:00:00 2001 From: gine Date: Wed, 5 Nov 2014 17:24:37 +0100 Subject: [PATCH] fixato un bug sulla painazione in caso di setting della variabile a qualcosa di differente di 'y' --- page_box.php | 1 - 1 file changed, 1 deletion(-) diff --git a/page_box.php b/page_box.php index 81758ee..012d47b 100644 --- a/page_box.php +++ b/page_box.php @@ -29,7 +29,6 @@ function get_page_box($attrs){ 'orderby' => 'rand' ); - $attrs['paged'] = 'y'; if ( !empty( $attrs['paged'] ) && $attrs['paged'] == 'y' ) $args[ 'paged' ] = get_query_var('paged'); else $args[ 'no_found_rows' ] = 1 ;