Code Duplication    Length = 5-5 lines in 2 locations

app/Controller/ProdutoController.php 2 locations

@@ 30-34 (lines=5) @@
27
28
		$allProdutos = $this->Produto->find('all', $conditions);
29
		
30
		if ( isset( $_GET['iDisplayStart'] ) && $_GET['iDisplayLength'] != '-1' )
31
		{
32
			$conditions['offset'] = $_GET['iDisplayStart'];
33
			$conditions['limit'] = $_GET['iDisplayLength'];
34
		}
35
36
		if ( isset( $_GET['iSortCol_0'] ) )
37
		{
@@ 119-123 (lines=5) @@
116
117
		$allProdutos = $this->Produto->find('all', $conditions);
118
		
119
		if ( isset( $_GET['iDisplayStart'] ) && $_GET['iDisplayLength'] != '-1' )
120
		{
121
			$conditions['offset'] = $_GET['iDisplayStart'];
122
			$conditions['limit'] = $_GET['iDisplayLength'];
123
		}
124
125
		if ( isset( $_GET['iSortCol_0'] ) )
126
		{