diff --git a/Ashx/SIGWeb.ashx b/Ashx/SIGWeb.ashx index d8d838d35..cc2504d43 100644 --- a/Ashx/SIGWeb.ashx +++ b/Ashx/SIGWeb.ashx @@ -1002,7 +1002,7 @@ Public Class SIGWeb : Implements IHttpHandler, IRequiresSessionState 'solo muestar productos con existencia. DtPSRetorno = DtPSRetorno.FiltraParametros("ExistenciaTotal > 0") End If - If DtPSRetorno.Columns("ExistenciaTotal") IsNot Nothing Then DtPSRetorno.Columns.Remove("ExistenciaTotal") + If DtPSRetorno IsNot Nothing AndAlso DtPSRetorno.Columns("ExistenciaTotal") IsNot Nothing Then DtPSRetorno.Columns.Remove("ExistenciaTotal") If UsaGlobal Then 'se recarga el global, y el clspaginas, son los unicos 2 lugares