changeset 2003:f11e5d200c04

author Sebastien Jodogne <s.jodogne@gmail.com>
date Wed, 08 Jun 2016 10:39:42 +0200
parents 785588df2518
children 3c76fac299ac
files OrthancServer/OrthancRestApi/OrthancRestResources.cpp
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/OrthancServer/OrthancRestApi/OrthancRestResources.cpp	Mon Jun 06 17:28:32 2016 +0200
+++ b/OrthancServer/OrthancRestApi/OrthancRestResources.cpp	Wed Jun 08 10:39:42 2016 +0200
@@ -1099,7 +1099,7 @@
       size_t limit = 0;
       if (request.isMember("Limit"))
       {
-        int tmp = request["CaseSensitive"].asInt();
+        int tmp = request["Limit"].asInt();
         if (tmp < 0)
         {
           throw OrthancException(ErrorCode_ParameterOutOfRange);