From 1ae90b2dc40653278df03d6b75722d0c3d9d7289 Mon Sep 17 00:00:00 2001
From: Alvaro Graves <alvaro@graves.cl>
Date: Wed, 27 Jul 2011 14:26:34 -0700
Subject: [PATCH] overlapping variables

---
 classes/Endpoint.php | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/classes/Endpoint.php b/classes/Endpoint.php
index 5cd7fa75..774bd4ba 100644
--- a/classes/Endpoint.php
+++ b/classes/Endpoint.php
@@ -11,7 +11,7 @@ class Endpoint{
   
   public function query($q, $output = null){
   	global $conf;
-  	$aux = $this->params['output'];
+  	$auxoutput = $this->params['output'];
   	if($output != null){
   	  $this->params['output'] = $output;
     }
@@ -22,7 +22,7 @@ class Endpoint{
   	$url = $this->sparqlUrl.'?'.http_build_query($params, '', '&');
   	$aux = file_get_contents($url, false,$context);
   	
-  	$this->params['output'] = $aux;
+  	$this->params['output'] = $auxoutput;
   	
   	if(preg_match("/select/i", $q)){
   	  return json_decode($aux, true);
-- 
GitLab