Skip to content
This repository has been archived by the owner on Jun 25, 2019. It is now read-only.

Commit

Permalink
Fixed a bug, where the "hidden" fields were having their values "mang…
Browse files Browse the repository at this point in the history
…led" by the root server.
  • Loading branch information
ChrisMarshallNY committed Apr 18, 2013
1 parent 6bfc49a commit cbed42e
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 3 deletions.
1 change: 1 addition & 0 deletions README
Original file line number Diff line number Diff line change
Expand Up @@ -49,6 +49,7 @@ CHANGELIST
= Version 2.0.2 =
* TBD
* Fixed an issue where sessions were not being preserved properly across a cURL call.
* Fixed a bug, where the "hidden" fields were having their values "mangled" by the root server.

= Version 2.0.1 =
* April 17, 2013
Expand Down
5 changes: 3 additions & 2 deletions main_server/client_interface/csv/search_results_csv.php
Original file line number Diff line number Diff line change
Expand Up @@ -249,7 +249,8 @@ function DisplaySearchResultsCSV ( $in_http_vars, /**< The various HTTP GET and
- 'longitude' The longitude of the search center
- 'latitude' Th latitude of the search center
*/
&$return_results = null ///< If supplied, should point to an array that will be filled with the actual meeting objects that comprise the result.
&$return_results = null, ///< If supplied, should point to an array that will be filled with the actual meeting objects that comprise the result.
$in_supress_hidden_concat = false ///< If true, then hidden fields will not have their prompts encoded
)
{
$ret = null;
Expand Down Expand Up @@ -449,7 +450,7 @@ function DisplaySearchResultsCSV ( $in_http_vars, /**< The various HTTP GET and
}
}

if ( $mtg_obj->IsItemHidden ( $key ) && $val )
if ( $mtg_obj->IsItemHidden ( $key ) && $val && !$in_supress_hidden_concat )
{
if ( $mtg_obj->UserCanObserve() )
{
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -1197,7 +1197,7 @@ function GetSearchResults (
$ignore_me = null;
$meeting_objects = array();

$result = DisplaySearchResultsCSV ( $in_http_vars, $ignore_me, $geocode_results, $meeting_objects );
$result = DisplaySearchResultsCSV ( $in_http_vars, $ignore_me, $geocode_results, $meeting_objects, true );

if ( isset ( $meeting_objects ) && is_array ( $meeting_objects ) && count ( $meeting_objects ) && isset ( $formats_ar ) && is_array ( $formats_ar ) )
{
Expand Down

0 comments on commit cbed42e

Please sign in to comment.