diff options
author | Pavlo Yatsukhnenko <yatsukhnenko@users.noreply.github.com> | 2022-04-25 09:56:56 +0300 |
---|---|---|
committer | GitHub <noreply@github.com> | 2022-04-25 09:56:56 +0300 |
commit | 6f06b584066196269911f868848f122d4c0a63ee (patch) | |
tree | 8a157880cd81fbc61ac917449c2dde4c684444df | |
parent | 31efee772812dac3bd7e8685f00732a0b33de82a (diff) | |
parent | 415177536729610a0472a5e2d757b4a07707bcd6 (diff) |
Merge pull request #2100 from phpredis/issue-2098
Issue #2098
-rw-r--r-- | library.c | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -3599,7 +3599,7 @@ int redis_extract_auth_info(zval *ztest, zend_string **user, zend_string **pass) /* Handle a non-array first */ if (Z_TYPE_P(ztest) != IS_ARRAY) { - *pass = zval_get_string(ztest); + TRY_SET_AUTH_ARG(ztest, pass); return SUCCESS; } |