Fixed intendation

This commit is contained in:
Florian Ludwig 2014-10-15 00:31:56 +02:00
parent 846c24d119
commit 3a4cc14f62
1 changed files with 6 additions and 6 deletions

View File

@ -526,12 +526,12 @@ class WC_API_Customers extends WC_API_Resource {
// limit number of users returned
if ( ! empty( $args['limit'] ) ) {
if($args['limit'] == -1) {
unset($query_args['number']);
} else {
$query_args['number'] = absint($args['limit']);
$users_per_page = absint($args['limit']);
}
if ($args['limit'] == -1) {
unset( $query_args['number'] );
} else {
$query_args['number'] = absint($args['limit']);
$users_per_page = absint($args['limit']);
}
}
// page