diff options
author | Joe George <joe@zeroc.com> | 2016-05-31 15:58:29 -0400 |
---|---|---|
committer | Joe George <joe@zeroc.com> | 2016-05-31 15:58:29 -0400 |
commit | e40a438a70f06fb163020eb3b2cb42e0e18eb3ed (patch) | |
tree | baff6d1b76f2a570fe01398d43fa0acf45e6ea3c /php/src/php7/Operation.cpp | |
parent | Reworked description of wikipedia text (diff) | |
download | ice-e40a438a70f06fb163020eb3b2cb42e0e18eb3ed.tar.bz2 ice-e40a438a70f06fb163020eb3b2cb42e0e18eb3ed.tar.xz ice-e40a438a70f06fb163020eb3b2cb42e0e18eb3ed.zip |
Fix ICE-7163
- Printing types is more forgiving and will not throw an exception if
there is bogus data.
- Fix several print statements to print the correct class name.
Diffstat (limited to 'php/src/php7/Operation.cpp')
-rw-r--r-- | php/src/php7/Operation.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/php/src/php7/Operation.cpp b/php/src/php7/Operation.cpp index 62e9ae4c30c..73ee697c470 100644 --- a/php/src/php7/Operation.cpp +++ b/php/src/php7/Operation.cpp @@ -463,7 +463,7 @@ IcePHP::TypedInvocation::prepareRequest(int argc, zval* args, Ice::OutputStreamP zval* arg = &args[info->pos]; assert(!Z_ISREF_P(arg)); - if((!info->optional || !isUnset(arg)) && !info->type->validate(arg)) + if((!info->optional || !isUnset(arg)) && !info->type->validate(arg, false)) { invalidArgument("invalid value for argument %d in operation `%s'", info->pos + 1, _op->name.c_str()); |