summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSébastien Helleu <flashcode@flashtux.org>2017-09-21 21:01:29 +0200
committerSébastien Helleu <flashcode@flashtux.org>2017-09-21 21:01:29 +0200
commit5f7b62f835b49c459f768573ce2647c07e69b4df (patch)
treecfb2abd232a1f177ae025bc9811669a3cdb046d2
parent4d75b5b145478754e847f53b67a01acec984a1a6 (diff)
downloadweechat-5f7b62f835b49c459f768573ce2647c07e69b4df.zip
php: fix crash in API function string_eval_path_home
-rw-r--r--src/plugins/php/weechat-php-api.c2
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,