fixed sql bug
fixed sql bug

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