Rename PH7_VmGenericError() to PH7_VmThrowError()
已通過所有檢查
The build was successful.

此提交包含在:
2018-09-04 08:54:48 +02:00
父節點 758ace0d1a
當前提交 d793d3ed70
共有 9 個檔案被更改,包括 252 行新增252 行删除

查看文件

@@ -706,7 +706,7 @@ static sxi32 VmJsonDecode(
pDecoder->pIn++;
/* Return the object as an associative array */
if((pDecoder->iFlags & JSON_DECODE_ASSOC) == 0) {
PH7_VmGenericError(pDecoder->pCtx->pVm, PH7_CTX_WARNING,
PH7_VmThrowError(pDecoder->pCtx->pVm, PH7_CTX_WARNING,
"JSON Objects are always returned as an associative array"
);
}