Browse Source

added quote for parameter name

tags/0.1.10
Robin Thoni 8 years ago
parent
commit
99600a90d4
1 changed files with 2 additions and 2 deletions
  1. 2
    2
      src/Utils/LuRoute.php

+ 2
- 2
src/Utils/LuRoute.php View File

@@ -73,12 +73,12 @@ class LuRoute {
73 73
             catch (LuDboDeserializeException $e)
74 74
             {
75 75
                 LuLog::log($e);
76
-                LuBusiness::badInput("Unable to parse JSON value for " . $param->getName() . ": " . $e->getMessage());
76
+                LuBusiness::badInput("Unable to parse JSON value for '" . $param->getName() . "': " . $e->getMessage());
77 77
             }
78 78
             catch (\Exception $e)
79 79
             {
80 80
                 LuLog::log($e);
81
-                LuBusiness::badInput("Unable to parse JSON value for " . $param->getName());
81
+                LuBusiness::badInput("Unable to parse JSON value for '" . $param->getName() . "'");
82 82
             }
83 83
         }
84 84
         return $typedValue;

Loading…
Cancel
Save