Added a check for the EncodeObject, as the XMLObject requires it.
Added a check for the EncodeObject, as the XMLObject requires it.

vlascoder/otrs,mbeijen/otrs-1,eliasp/otrs,nilei/otrs,nilei/otrs,nilei/otrs,balazj/otrs,rudy500/otrs,s7design/otrs,crythias/otrs,oiami/otrs,MBRG/otrs,xhoy/otrs,oiami/otrs,noritnk/otrs,thorsteneckel/otrs,balazj/otrs,linearregression/otrs,eliasp/otrs,rudy500/otrs,muehlbauer/otrs,xhoy/otrs,eliasp/otrs,xhoy/otrs,moritz/otrs,balazj/otrs,StCyr/otrs,mburggraf/otrs,capeit-tto/otrs,moritz/otrs,MBRG/otrs,PortgasDAce/otrs,oiami/otrs,s7design/otrs,muehlbauer/otrs,PortgasDAce/otrs,brandonshults01/otrs,StCyr/otrs,xhoy/otrs,mbeijen/otrs-1,capeit-tto/otrs,rudy500/otrs,mburggraf/otrs,thorsteneckel/otrs,PortgasDAce/otrs,capeit-tto/otrs,oiami/otrs,brandonshults01/otrs,nilei/otrs,mbeijen/otrs-1,linearregression/otrs,linearregression/otrs,StCyr/otrs,noritnk/otrs,muehlbauer/otrs,linearregression/otrs,crythias/otrs,brandonshults01/otrs,StCyr/otrs,balazj/otrs,nilei/otrs,moritz/otrs,s7design/otrs,StCyr/otrs,crythias/otrs,MBRG/otrs,vlascoder/otrs,thorsteneckel/otrs,brandonshults01/otrs,moritz/otrs,rudy500/otrs,eliasp/otrs,PortgasDAce/otrs,brandonshults01/otrs,moritz/otrs,thorsteneckel/otrs,crythias/otrs,crythias/otrs,mburggraf/otrs,rudy500/otrs,balazj/otrs,vlascoder/otrs,MBRG/otrs,noritnk/otrs,muehlbauer/otrs,mburggraf/otrs,s7design/otrs,linearregression/otrs,mburggraf/otrs,thorsteneckel/otrs,MBRG/otrs,eliasp/otrs,oiami/otrs,PortgasDAce/otrs,s7design/otrs,muehlbauer/otrs,xhoy/otrs