Fix trim php notice