"my" function should not be used with "if" statement modifier. bugid:112434