Changeset 175


Ignore:
Timestamp:
Feb 13, 2012, 4:27:30 PM (5 years ago)
Author:
kostas.karasavvas@…
Message:

Fixed bug when acquiring information from versions other than the newest... even when the param exist and its empty

File:
1 edited

Legend:

Unmodified
Added
Removed
  • myexperiment-rest/trunk/lib/myexperiment-rest.rb

    r174 r175  
    2222
    2323      # if version is not empty use that one -- otherwise it returns the current version
    24       if params[:version]
     24      if params[:version] && !params[:version].empty?
    2525        rest_params[:params]['version'] = "#{params[:version]}"
    2626      end
Note: See TracChangeset for help on using the changeset viewer.