From 82a68a897942811ecc2da46ceb2b4c0d90a2ae00 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: https://develop.svn.wordpress.org/trunk@15893 602fd350-edb4-49c9-b593-d223f7449a82 --- 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]; } /**