diff options
Diffstat (limited to 'ext/msql/php_msql.c')
-rw-r--r-- | ext/msql/php_msql.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/ext/msql/php_msql.c b/ext/msql/php_msql.c index 0228b7eb0c..d2bdc8a1af 100644 --- a/ext/msql/php_msql.c +++ b/ext/msql/php_msql.c @@ -315,7 +315,7 @@ static void php_msql_do_connect(INTERNAL_FUNCTION_PARAMETERS,int persistent) ptr = zend_list_find(link,&type); /* check if the link is still there */ if (ptr && (type==msql_globals.le_link || type==msql_globals.le_plink)) { return_value->value.lval = msql_globals.default_link = link; - return_value->type = IS_LONG; + return_value->type = IS_RESOURCE; efree(hashed_details); return; } else { |