From db6cb9d47f164a225bde829179542dba1912cc55 Mon Sep 17 00:00:00 2001 From: scribu Date: Thu, 21 Oct 2010 15:15:50 +0000 Subject: [PATCH] Use isset() instead of '@'. Props Utkarsh. See #14579 git-svn-id: http://svn.automattic.com/wordpress/trunk@15893 1a063a9b-81f0-0310-95a4-ce76da25c4cd --- wp-admin/includes/list-table.php | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/wp-admin/includes/list-table.php b/wp-admin/includes/list-table.php index 9605f551d3..ffc771a9e7 100644 --- a/wp-admin/includes/list-table.php +++ b/wp-admin/includes/list-table.php @@ -148,8 +148,9 @@ class WP_List_Table { function get_pagination_arg( $key ) { if ( 'page' == $key ) return $this->get_pagenum(); - - return @$this->_pagination_args[ $key ]; + + if ( isset( $this->_pagination_args[$key] ) ) + return $this->_pagination_args[$key]; } /**