Partial fix for #13761.

`if (pdisable)`