summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorSébastien Helleu <flashcode@flashtux.org>2017-09-17 17:36:56 +0200
committerSébastien Helleu <flashcode@flashtux.org>2017-09-17 17:36:56 +0200
commit4d75b5b145478754e847f53b67a01acec984a1a6 (patch)
tree6f87a31c22278503d2191f80cba88ff2a7f64f10 /src
parent0855873447ef50e025307e0f009eb425a3c7995c (diff)
downloadweechat-4d75b5b145478754e847f53b67a01acec984a1a6.zip
php: fix crash in API function string_eval_expression
Diffstat (limited to 'src')
-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 ed368f307..c092c9511 100644
--- a/src/plugins/php/weechat-php-api.c
+++ b/src/plugins/php/weechat-php-api.c
@@ -498,7 +498,7 @@ API_FUNC(string_eval_expression)
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,