Code Duplication    Length = 3-3 lines in 2 locations

web_interface/astpp/application/modules/accounts/controllers/accounts.php 1 location

@@ 2457-2459 (lines=3) @@
2454
			$data["account_data"] =(array)$this->db->get_where('invoice_conf',array("accountid"=>$id))->first_row();
2455
		$data["accounttype"]='Reseller';
2456
		$data["edit_id"]=$id;
2457
			if(isset($data["account_data"]['logo'])){
2458
				$data["account_data"]['file']=$id."_".$data["account_data"]['logo'];
2459
		}
2460
			$this->load->view('view_reseller_invoices_config', $data);
2461
		}
2462
}

web_interface/astpp/application/modules/user/controllers/user.php 1 location

@@ 661-663 (lines=3) @@
658
			redirect(base_url() . 'user/user_invoice_config/');
659
		} else {
660
			$data["account_data"] =(array)$this->db->get_where('invoice_conf',array("accountid"=>$accountinfo['id']))->first_row();
661
			if(isset($data["account_data"]['logo'])){
662
				$data["account_data"]['file']=$accountinfo['id']."_".$data["account_data"]['logo'];
663
		}
664
			$this->load->view('view_user_invoices_config', $data);
665
		}
666
	}