ndlibersa / resources

**DEPRECATED** MOVED TO https://github.com/Coral-erm/Coral
GNU General Public License v3.0
9 stars 19 forks source link

CSV export of search results incorrectly exports all resources #23

Closed hektech closed 11 years ago

hektech commented 11 years ago

The code exists to limit the export to the displayed search results. However, the search query values get lost whenever mysql_real_escape_string() is called because it requires a database connection, and there is no connection where the query is created (which is in a static function). So mysql_real_escape_string() returns false instead of the escaped value.

hektech commented 11 years ago

This was fixed in version 1.2.