Fixed crash in PM.
Fixed crash in PM.

mburggraf/otrs,crythias/otrs,linearregression/otrs,brandonshults01/otrs,thorsteneckel/otrs,mburggraf/otrs,xhoy/otrs,rudy500/otrs,rudy500/otrs,brandonshults01/otrs,muehlbauer/otrs,xhoy/otrs,mburggraf/otrs,muehlbauer/otrs,s7design/otrs,mburggraf/otrs,nilei/otrs,eliasp/otrs,eliasp/otrs,crythias/otrs,rudy500/otrs,s7design/otrs,xhoy/otrs,brandonshults01/otrs,muehlbauer/otrs,rudy500/otrs,MBRG/otrs,nilei/otrs,thorsteneckel/otrs,brandonshults01/otrs,linearregression/otrs,MBRG/otrs,crythias/otrs,thorsteneckel/otrs,nilei/otrs,muehlbauer/otrs,crythias/otrs,thorsteneckel/otrs,MBRG/otrs,linearregression/otrs,linearregression/otrs,thorsteneckel/otrs,s7design/otrs,crythias/otrs,MBRG/otrs,nilei/otrs,muehlbauer/otrs,s7design/otrs,mburggraf/otrs,eliasp/otrs,nilei/otrs,s7design/otrs,MBRG/otrs,eliasp/otrs,eliasp/otrs,xhoy/otrs,linearregression/otrs,brandonshults01/otrs,rudy500/otrs,xhoy/otrs