Changeset 175

Show
Ignore:
Timestamp:
13-02-12 16:27:30 (2 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

Files:
1 modified

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