Skip to content

Commit

Permalink
Small fix.
Browse files Browse the repository at this point in the history
  • Loading branch information
dovy committed Jul 8, 2015
1 parent ba738a1 commit 0a13fad
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion ReduxCore/inc/class.redux_api.php
Original file line number Diff line number Diff line change
Expand Up @@ -408,7 +408,7 @@ public static function setHelpSidebar( $opt_name = "", $content = "" ) {
public static function setArgs( $opt_name = "", $args = array() ) {
self::check_opt_name( $opt_name );
if ( ! empty( $opt_name ) && ! empty( $args ) && is_array( $args ) ) {
if ( isset( self::$args[ $opt_name ]['clearArgs'] ) ) {
if ( isset( self::$args[ $opt_name ] ) && isset( self::$args[ $opt_name ]['clearArgs'] ) ) {
self::$args[ $opt_name ] = array();
}
self::$args[ $opt_name ] = wp_parse_args( $args, self::$args[ $opt_name ] );
Expand Down

0 comments on commit 0a13fad

Please sign in to comment.