Completed
Push — master ( 7875eb...63d7b4 )
by Aimeos
02:52
created
client/jsonapi/templates/product/standard.php 2 patches
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -98,7 +98,7 @@
 block discarded – undo
98 98
 $first = ( $offset > 0 ? 0 : null );
99 99
 $prev = ( $offset - $limit >= 0 ? $offset - $limit : null );
100 100
 $next = ( $offset + $limit < $total ? $offset + $limit : null );
101
-$last = ( ((int) ($total / $limit)) * $limit > $offset ? ((int) ($total / $limit)) * $limit : null );
101
+$last = ( ( (int) ( $total / $limit ) ) * $limit > $offset ? ( (int) ( $total / $limit ) ) * $limit : null );
102 102
 
103 103
 
104 104
 $map = $this->get( 'itemMap', array() );
Please login to merge, or discard this patch.
Braces   +1 added lines, -2 removed lines patch added patch discarded remove patch
@@ -231,8 +231,7 @@
 block discarded – undo
231 231
 					$data[] = $entryFcn( $productItem );
232 232
 					$included = array_merge( $included, $refFcn( $productItem, 0 ) );
233 233
 				}
234
-			}
235
-			else
234
+			} else
236 235
 			{
237 236
 				$data = $entryFcn( $items );
238 237
 				$included = $refFcn( $items, 0 );
Please login to merge, or discard this patch.