Skip to content

Commit

Permalink
no boolval use
Browse files Browse the repository at this point in the history
  • Loading branch information
itthinx committed Jul 29, 2015
1 parent b542c46 commit a70b8fd
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
2 changes: 1 addition & 1 deletion lib/core/class-affiliates-ui-elements.php
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,7 @@ public static function affiliates_select( $args = array() ) {
}
$show_inoperative = false;
if ( isset( $args['show_inoperative'] ) ) {
$show_inoperative = boolval( $args['show_inoperative'] );
$show_inoperative = (bool) $args['show_inoperative'];
}

$affiliates = affiliates_get_affiliates( true, !$show_inoperative );
Expand Down
1 change: 1 addition & 0 deletions readme.txt
Original file line number Diff line number Diff line change
Expand Up @@ -348,6 +348,7 @@ See [Affiliates Screenshots](http://www.itthinx.com/plugins/affiliates/affiliate
* Added the option to hide or show filters on the affiliates overview.
* Added the affiliates_admin_referrals_secondary_actions filter.
* Fixed a minor bug related to data representation in case of string data in referrals.
* Improved PHP compatibility avoiding use of boolval.

= 2.10.0 =
* Updated the German translation with more suitable translations in context.
Expand Down

0 comments on commit a70b8fd

Please sign in to comment.