From c5920da955b5718e0f6ab389c4135b9a37f54a5f Mon Sep 17 00:00:00 2001 From: Vladimir Kolesnikov Date: Sat, 4 Jan 2014 13:17:00 +0200 Subject: [PATCH] Fix #1683 --- ext/debug.c | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/ext/debug.c b/ext/debug.c index c481d7f6044..28ffffaabd1 100644 --- a/ext/debug.c +++ b/ext/debug.c @@ -1155,7 +1155,9 @@ PHP_METHOD(Phalcon_Debug, onUncaughtException){ PHALCON_GET_HKEY(key_server, ah2, hp2); PHALCON_GET_HVALUE(value); - PHALCON_SCONCAT_SVSVS(html, "", key_server, "", value, ""); + PHALCON_INIT_NVAR(dumped_argument); + phalcon_call_method_p1(dumped_argument, this_ptr, "_getvardump", value); + PHALCON_SCONCAT_SVSVS(html, "", key_server, "", dumped_argument, ""); zend_hash_move_forward_ex(ah2, &hp2); }