diff options
author | Sébastien Helleu <flashcode@flashtux.org> | 2017-09-21 21:01:29 +0200 |
---|---|---|
committer | Sébastien Helleu <flashcode@flashtux.org> | 2017-09-21 21:01:29 +0200 |
commit | 5f7b62f835b49c459f768573ce2647c07e69b4df (patch) | |
tree | cfb2abd232a1f177ae025bc9811669a3cdb046d2 | |
parent | 4d75b5b145478754e847f53b67a01acec984a1a6 (diff) | |
download | weechat-5f7b62f835b49c459f768573ce2647c07e69b4df.zip |
php: fix crash in API function string_eval_path_home
-rw-r--r-- | src/plugins/php/weechat-php-api.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/plugins/php/weechat-php-api.c b/src/plugins/php/weechat-php-api.c index c092c9511..f272b79a7 100644 --- a/src/plugins/php/weechat-php-api.c +++ b/src/plugins/php/weechat-php-api.c @@ -535,7 +535,7 @@ API_FUNC(string_eval_path_home) z_pointers, WEECHAT_SCRIPT_HASHTABLE_DEFAULT_SIZE, WEECHAT_HASHTABLE_STRING, - WEECHAT_HASHTABLE_STRING); + WEECHAT_HASHTABLE_POINTER); extra_vars = weechat_php_array_to_hashtable ( z_extra_vars, WEECHAT_SCRIPT_HASHTABLE_DEFAULT_SIZE, |