This project is read-only.
1
Vote

An error in getResults()?

description

Hi, I found an error in the code, bah, I guess :) :
 
It is in the last lines in the getResults method:
 
# Deliver
 
 $this->_holder = curl_exec($queryServer);
 return $this->_holder;

# Have a great day!
curl_close($queryServer);
 
}
 
You return before close curl, and by this, curl not close ever.
 
Regards!
Damián

comments